summaryrefslogtreecommitdiffstats
path: root/mm/Kconfig
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2011-01-14 00:47:01 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-14 02:32:44 +0100
commitf2d6bfe9ff0acec30b713614260e78b03d20e909 (patch)
tree835dd9f4167513d94ae542cf92347ea98bff5ddc /mm/Kconfig
parentthp: remove PG_buddy (diff)
downloadlinux-f2d6bfe9ff0acec30b713614260e78b03d20e909.tar.xz
linux-f2d6bfe9ff0acec30b713614260e78b03d20e909.zip
thp: add x86 32bit support
Add support for transparent hugepages to x86 32bit. Share the same VM_ bitflag for VM_MAPPED_COPY. mm/nommu.c will never support transparent hugepages. Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> Reviewed-by: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/Kconfig')
-rw-r--r--mm/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/Kconfig b/mm/Kconfig
index 3982be2d721a..d774f77538ce 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -304,7 +304,7 @@ config NOMMU_INITIAL_TRIM_EXCESS
config TRANSPARENT_HUGEPAGE
bool "Transparent Hugepage Support" if EMBEDDED
- depends on X86_64 && MMU
+ depends on X86 && MMU
default y
help
Transparent Hugepages allows the kernel to use huge pages and