x86: 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. Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.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>
此提交包含在:
@@ -224,7 +224,7 @@ TRACE_EVENT(xen_mmu_pmd_clear,
|
||||
TP_printk("pmdp %p", __entry->pmdp)
|
||||
);
|
||||
|
||||
#if PAGETABLE_LEVELS >= 4
|
||||
#if CONFIG_PGTABLE_LEVELS >= 4
|
||||
|
||||
TRACE_EVENT(xen_mmu_set_pud,
|
||||
TP_PROTO(pud_t *pudp, pud_t pudval),
|
||||
|
新增問題並參考
封鎖使用者