sh: Fix up 64kB page size selection on SH-5.
authorPaul Mundt <lethal@linux-sh.org>
Sun, 11 Nov 2007 08:25:10 +0000 (17:25 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jan 2008 04:18:45 +0000 (13:18 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/Kconfig

index 8192c872a69a1de7f67cc36ebadf118b4ddd692b..7ff26c1f4e9c6b2df5ad92031ab0a9277592eea2 100644 (file)
@@ -156,7 +156,7 @@ config PAGE_SIZE_8KB
 
 config PAGE_SIZE_64KB
        bool "64kB"
-       depends on CPU_SH4
+       depends on CPU_SH4 || CPU_SH5
        help
          This enables support for 64kB pages, possible on all SH-4
          CPUs and later.
@@ -165,7 +165,7 @@ endchoice
 
 choice
        prompt "HugeTLB page size"
-       depends on HUGETLB_PAGE && CPU_SH4 && MMU
+       depends on HUGETLB_PAGE && (CPU_SH4 || CPU_SH5) && MMU
        default HUGETLB_PAGE_SIZE_64K
 
 config HUGETLB_PAGE_SIZE_64K