Skip to content

Commit

Permalink
sh: Support variable page sizes on nommu.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt committed Jul 28, 2008
1 parent 02f7e62 commit 74fcc77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/sh/mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -145,19 +145,19 @@ choice

config PAGE_SIZE_4KB
bool "4kB"
depends on !X2TLB
depends on !MMU || !X2TLB
help
This is the default page size used by all SuperH CPUs.

config PAGE_SIZE_8KB
bool "8kB"
depends on X2TLB
depends on !MMU || X2TLB
help
This enables 8kB pages as supported by SH-X2 and later MMUs.

config PAGE_SIZE_64KB
bool "64kB"
depends on CPU_SH4 || CPU_SH5
depends on !MMU || CPU_SH4 || CPU_SH5
help
This enables support for 64kB pages, possible on all SH-4
CPUs and later.
Expand Down

0 comments on commit 74fcc77

Please sign in to comment.