From: David Daney Date: Thu, 28 May 2009 00:47:45 +0000 (-0700) Subject: Hugetlbfs: Enable hugetlbfs for more systems in Kconfig. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=852969b2d273e77dabbc22e1c1058cbafb7ad7d2;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git Hugetlbfs: Enable hugetlbfs for more systems in Kconfig. As part of adding hugetlbfs support for MIPS, I am adding a new kconfig variable 'SYS_SUPPORTS_HUGETLBFS'. Since some mips cpu varients don't yet support it, we can enable selection of HUGETLBFS on a system by system basis from the arch/mips/Kconfig. Signed-off-by: David Daney CC: William Irwin Signed-off-by: Ralf Baechle --- diff --git a/fs/Kconfig b/fs/Kconfig index 4044f163035f..d78e950402c1 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -134,7 +134,7 @@ config TMPFS_POSIX_ACL config HUGETLBFS bool "HugeTLB file system support" depends on X86 || IA64 || PPC64 || SPARC64 || (SUPERH && MMU) || \ - (S390 && 64BIT) || BROKEN + (S390 && 64BIT) || SYS_SUPPORTS_HUGETLBFS || BROKEN help hugetlbfs is a filesystem backing for HugeTLB pages, based on ramfs. For architectures that support it, say Y here and read