thp: don't allow transparent hugepage support without PSE
authorAndrea Arcangeli <aarcange@redhat.com>
Thu, 13 Jan 2011 23:47:09 +0000 (15:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:45 +0000 (17:32 -0800)
commit4b7167b9ff9b7f3f528cbc4c7d02ebd275b9b10c
treead2c23c28b9dea009daf3719aefeb79103e2c152
parent94fcc585fb85ad7b059c70872489b50044d401f3
thp: don't allow transparent hugepage support without PSE

Archs implementing Transparent Hugepage Support must implement a function
called has_transparent_hugepage to be sure the virtual or physical CPU
supports Transparent Hugepages.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/include/asm/pgtable.h
mm/huge_memory.c