diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2021-05-10 21:53:12 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2021-05-12 11:49:15 +0300 |
commit | dce0aa3b2ef28900cc4c779c59a870f1b4bdadee (patch) | |
tree | 980389d5f1ff53772d39048f714e67f71c6994f9 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 3e5e7f7736b05d5fdf2cc4e0ba4f2d8bc42c630d (diff) | |
download | linux-dce0aa3b2ef28900cc4c779c59a870f1b4bdadee.tar.xz |
x86/syscall: Unconditionally prototype {ia32,x32}_sys_call_table[]
Even if these APIs are disabled, and the arrays therefore do not
exist, having the prototypes allows us to use IS_ENABLED() rather than
using #ifdefs.
If something ends up trying to actually *use* these arrays a linker
error will ensue.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210510185316.3307264-4-hpa@zytor.com
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions