summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-11 09:25:10 +0100
committerPaul Mundt <lethal@linux-sh.org>2008-01-28 05:18:45 +0100
commit079060c6ff6edd32955c3e511024578db89a717b (patch)
treea71ee2eb3a4ff626a51af50e4fa3e6af8cc4702e
parentsh: Split out extable.c _32 and _64 variants. (diff)
downloadlinux-079060c6ff6edd32955c3e511024578db89a717b.tar.xz
linux-079060c6ff6edd32955c3e511024578db89a717b.zip
sh: Fix up 64kB page size selection on SH-5.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/mm/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig
index 8192c872a69a..7ff26c1f4e9c 100644
--- a/arch/sh/mm/Kconfig
+++ b/arch/sh/mm/Kconfig
@@ -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