arm64: expose number of page table levels on Kconfig level
authorKirill A. Shutemov <[email protected]>
Tue, 14 Apr 2015 22:45:39 +0000 (15:45 -0700)
committerLinus Torvalds <[email protected]>
Tue, 14 Apr 2015 23:49:01 +0000 (16:49 -0700)
commit9f25e6ad58e1fb3b4d441e4c55635c4598a6fa94
tree166d29ab4fe109797e6f9613f6894e321176830b
parentf5d4547ad27737137fae8e67025e5664ecb8e790
arm64: expose number of page table levels on Kconfig level

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

ARM64_PGTABLE_LEVELS is renamed to PGTABLE_LEVELS and defined before
sourcing init/Kconfig: arch/Kconfig will define default value and it's
sourced from init/Kconfig.

Signed-off-by: Kirill A. Shutemov <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/arm64/Kconfig
arch/arm64/include/asm/kvm_mmu.h
arch/arm64/include/asm/page.h
arch/arm64/include/asm/pgalloc.h
arch/arm64/include/asm/pgtable-hwdef.h
arch/arm64/include/asm/pgtable-types.h
arch/arm64/include/asm/pgtable.h
arch/arm64/include/asm/tlb.h
arch/arm64/mm/mmu.c