diff options
author | Arvind Sankar <nivedita@alum.mit.edu> | 2020-07-28 18:57:12 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-07-31 11:08:17 +0200 |
commit | 50def2693a900dfb1d91872056dc8164245820fc (patch) | |
tree | 43faad561938da02c8f1d70a2120ca75b19ae73e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 79c2fd2afe55944098047721c33e06fd48654e57 (diff) |
x86/kaslr: Short-circuit gb_huge_pages on x86-32
32-bit does not have GB pages, so don't bother checking for them. Using
the IS_ENABLED() macro allows the compiler to completely remove the
gb_huge_pages code.
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20200728225722.67457-12-nivedita@alum.mit.edu
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions