diff options
author | 2018-06-23 01:08:41 +0300 | |
---|---|---|
committer | 2018-06-23 14:20:37 +0200 | |
commit | 2458e53ff74cd1063ed3e00459da1d35c559d369 (patch) | |
tree | 1f969e50a4c237e4482a417af7c68f89e68e9938 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Revert "x86/mm: Mark __pgtable_l5_enabled __initdata" (diff) | |
download | linux-dev-2458e53ff74cd1063ed3e00459da1d35c559d369.tar.xz linux-dev-2458e53ff74cd1063ed3e00459da1d35c559d369.zip |
x86/mm: Fix 'no5lvl' handling
early_identify_cpu() has to use early version of pgtable_l5_enabled()
that doesn't rely on cpu_feature_enabled().
Defining USE_EARLY_PGTABLE_L5 before all includes does the trick.
I lost the define in one of reworks of the original patch.
Fixes: 372fddf70904 ("x86/mm: Introduce the 'no5lvl' kernel parameter")
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Link: https://lkml.kernel.org/r/20180622220841.54135-3-kirill.shutemov@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions