aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib/test_util.c
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <[email protected]>2021-05-10 18:53:12 +0000
committerIngo Molnar <[email protected]>2021-05-12 08:49:15 +0000
commitdce0aa3b2ef28900cc4c779c59a870f1b4bdadee (patch)
tree980389d5f1ff53772d39048f714e67f71c6994f9 /tools/testing/selftests/kvm/lib/test_util.c
parentx86/entry: Reverse arguments to do_syscall_64() (diff)
downloadkernel-dce0aa3b2ef28900cc4c779c59a870f1b4bdadee.tar.gz
kernel-dce0aa3b2ef28900cc4c779c59a870f1b4bdadee.zip
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) <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/kvm/lib/test_util.c')
0 files changed, 0 insertions, 0 deletions