linux-mips
[Top] [All Lists]

[PATCH 4/5] Enable hugetlbfs for more systems.

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH 4/5] Enable hugetlbfs for more systems.
From: David Daney <ddaney@caviumnetworks.com>
Date: Wed, 27 May 2009 17:47:45 -0700
Cc: wli@holomorphy.com, David Daney <ddaney@caviumnetworks.com>
In-reply-to: <4A1DDED7.3020306@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <4A1DDED7.3020306@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
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.

CC: William Irwin <wli@holomorphy.com>
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
---
 fs/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/Kconfig b/fs/Kconfig
index 9f7270f..c36d63b 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -124,7 +124,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
-- 
1.6.0.6


<Prev in Thread] Current Thread [Next in Thread>