]> git.karo-electronics.de Git - linux-beck.git/commitdiff
fs: hugetlbfs: Disable for shnommu.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 11 Jun 2007 06:35:34 +0000 (15:35 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 11 Jun 2007 06:35:34 +0000 (15:35 +0900)
SH can turn CONFIG_MMU on and off, don't let us get to a state
where hugetlbfs/hugetlbpage gets built when building for nommu.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
fs/Kconfig

index 0fa0c1193e81335869c6e93e3a3df070105101b5..7f211613ae1b1ac3270ca9014dcac30aaf7a47e1 100644 (file)
@@ -991,7 +991,7 @@ config TMPFS_POSIX_ACL
 
 config HUGETLBFS
        bool "HugeTLB file system support"
-       depends on X86 || IA64 || PPC64 || SPARC64 || SUPERH || BROKEN
+       depends on X86 || IA64 || PPC64 || SPARC64 || (SUPERH && MMU) || BROKEN
        help
          hugetlbfs is a filesystem backing for HugeTLB pages, based on
          ramfs. For architectures that support it, say Y here and read