diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-06-03 05:52:11 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-07-28 05:10:28 -0400 |
commit | 74fcc77982e703fe85d8bd5437130fd94c61daee (patch) | |
tree | 11358e97d65eee31dfeb651aa916d500e79d5619 /arch/sh/mm/Kconfig | |
parent | 02f7e627f9248a478cf790112a07ae2c612b895a (diff) |
sh: Support variable page sizes on nommu.
PAGE_SIZE doesn't need to be fixed at 4096 on nommu, so stub in a !MMU
case for the various PAGE_SIZE Kconfig options.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/Kconfig')
-rw-r--r-- | arch/sh/mm/Kconfig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index 5fd218430b19..5267c434d6eb 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig | |||
@@ -145,19 +145,19 @@ choice | |||
145 | 145 | ||
146 | config PAGE_SIZE_4KB | 146 | config PAGE_SIZE_4KB |
147 | bool "4kB" | 147 | bool "4kB" |
148 | depends on !X2TLB | 148 | depends on !MMU || !X2TLB |
149 | help | 149 | help |
150 | This is the default page size used by all SuperH CPUs. | 150 | This is the default page size used by all SuperH CPUs. |
151 | 151 | ||
152 | config PAGE_SIZE_8KB | 152 | config PAGE_SIZE_8KB |
153 | bool "8kB" | 153 | bool "8kB" |
154 | depends on X2TLB | 154 | depends on !MMU || X2TLB |
155 | help | 155 | help |
156 | This enables 8kB pages as supported by SH-X2 and later MMUs. | 156 | This enables 8kB pages as supported by SH-X2 and later MMUs. |
157 | 157 | ||
158 | config PAGE_SIZE_64KB | 158 | config PAGE_SIZE_64KB |
159 | bool "64kB" | 159 | bool "64kB" |
160 | depends on CPU_SH4 || CPU_SH5 | 160 | depends on !MMU || CPU_SH4 || CPU_SH5 |
161 | help | 161 | help |
162 | This enables support for 64kB pages, possible on all SH-4 | 162 | This enables support for 64kB pages, possible on all SH-4 |
163 | CPUs and later. | 163 | CPUs and later. |