powerpc: Cleanup Kconfig selection of hugetlbfs support
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 30 Oct 2009 04:03:54 +0000 (15:03 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 30 Oct 2009 04:03:54 +0000 (15:03 +1100)
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/Kconfig
fs/Kconfig

index 10a0a5488a44f1c68ce90b7ba063ee06ac583b78..2ba14e77296c8082e0670fbe6113ae9667286e39 100644 (file)
@@ -414,6 +414,10 @@ config ARCH_SPARSEMEM_DEFAULT
 config ARCH_POPULATES_NODE_MAP
        def_bool y
 
+config SYS_SUPPORTS_HUGETLBFS
+       def_bool y
+       depends on PPC_BOOK3S_64
+
 source "mm/Kconfig"
 
 config ARCH_MEMORY_PROBE
index 2126078a38ede8fd89180b3051c835142785933f..64d44efad7a5d6752ad5c867ff7d10dd0b94b1e3 100644 (file)
@@ -135,7 +135,7 @@ config TMPFS_POSIX_ACL
 
 config HUGETLBFS
        bool "HugeTLB file system support"
-       depends on X86 || IA64 || PPC_BOOK3S_64 || SPARC64 || (S390 && 64BIT) || \
+       depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
                   SYS_SUPPORTS_HUGETLBFS || BROKEN
        help
          hugetlbfs is a filesystem backing for HugeTLB pages, based on