Skip to content

Commit

Permalink
um: 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]>
Acked-by: Richard Weinberger <[email protected]>
Cc: Jeff Dike <[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 909d45e commit 6b8ce2a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/um/Kconfig.um
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,8 @@ config MMAPPER

config NO_DMA
def_bool y

config PGTABLE_LEVELS
int
default 3 if 3_LEVEL_PGTABLES
default 2

0 comments on commit 6b8ce2a

Please sign in to comment.