summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-10-30 15:03:54 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-10-30 15:03:54 +1100
commit5a1eb5c4453207ad9e7f6e8ca4f8db289743c993 (patch)
treedd2c5de024fe7d7312b6e1234e2c9849e1cb9b75
parent2e2ec952350f25242f2e0539db16b1e46f9eb01b (diff)
downloadblackbird-obmc-linux-5a1eb5c4453207ad9e7f6e8ca4f8db289743c993.tar.gz
blackbird-obmc-linux-5a1eb5c4453207ad9e7f6e8ca4f8db289743c993.zip
powerpc: Cleanup Kconfig selection of hugetlbfs support
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r--arch/powerpc/Kconfig4
-rw-r--r--fs/Kconfig2
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 10a0a5488a44..2ba14e77296c 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -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
diff --git a/fs/Kconfig b/fs/Kconfig
index 2126078a38ed..64d44efad7a5 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -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
OpenPOWER on IntegriCloud