s390: expose number of page table levels
authorKirill A. Shutemov <[email protected]>
Tue, 14 Apr 2015 22:46:00 +0000 (15:46 -0700)
committerLinus Torvalds <[email protected]>
Tue, 14 Apr 2015 23:49:02 +0000 (16:49 -0700)
commitc81956c9cd587d36b87d4ab37c92016ebb79b517
tree84fc0995d9f6f745f9561a06f366d3fababdf6eb
parent06ef42a16f2dd8480ada1be3a549e12b02c45915
s390: expose number of page table levels

We would want to use number of page table level to define mm_struct.
Let's expose it as CONFIG_PGTABLE_LEVELS.

Core mm expects __PAGETABLE_{PUD,PMD}_FOLDED to be defined if these page
table levels folded.

Signed-off-by: Kirill A. Shutemov <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Heiko Carstens <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/s390/Kconfig