Skip to content

Commit

Permalink
sh: expose number of page table levels
Browse files Browse the repository at this point in the history
We would want to use number of page table level to define mm_struct.
Let's expose it as CONFIG_PGTABLE_LEVELS.

Signed-off-by: Kirill A. Shutemov <[email protected]>
Cc: [email protected]
Tested-by: Guenter Roeck <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
kiryl authored and torvalds committed Apr 14, 2015
1 parent c81956c commit 69543d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ config NEED_DMA_MAP_STATE
config NEED_SG_DMA_LENGTH
def_bool y

config PGTABLE_LEVELS
default 3 if X2TLB
default 2

source "init/Kconfig"

source "kernel/Kconfig.freezer"
Expand Down

0 comments on commit 69543d6

Please sign in to comment.