ia64: 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. We need to define PGTABLE_LEVELS before sourcing init/Kconfig: arch/Kconfig will define default value and it's sourced from init/Kconfig. Signed-off-by:Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Tony Luck <tony.luck@intel.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Tested-by:
Guenter Roeck <linux@roeck-us.net> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/ia64/Kconfig 5 additions, 13 deletionsarch/ia64/Kconfig
- arch/ia64/include/asm/page.h 2 additions, 2 deletionsarch/ia64/include/asm/page.h
- arch/ia64/include/asm/pgalloc.h 2 additions, 2 deletionsarch/ia64/include/asm/pgalloc.h
- arch/ia64/include/asm/pgtable.h 6 additions, 6 deletionsarch/ia64/include/asm/pgtable.h
- arch/ia64/kernel/ivt.S 6 additions, 6 deletionsarch/ia64/kernel/ivt.S
- arch/ia64/kernel/machine_kexec.c 2 additions, 2 deletionsarch/ia64/kernel/machine_kexec.c
Loading
Please register or sign in to comment