Searched hist:dce0aa3b2ef28900cc4c779c59a870f1b4bdadee (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/x86/include/asm/ |
H A D | syscall.h | diff dce0aa3b2ef28900cc4c779c59a870f1b4bdadee Mon May 10 13:53:12 CDT 2021 H. Peter Anvin (Intel) <hpa@zytor.com> 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
|