
22 Oct
2022
22 Oct
'22
3:38 p.m.
Assuming that struct exception_table_entry won't be accessed directly by drivers, Using __GENKSYMS__ macro to avoid kabi change caused by commit 46d28947d987 ("x86/extable: Rework the exception table mechanics"). Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com> --- arch/x86/include/asm/extable.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/x86/include/asm/extable.h b/arch/x86/include/asm/extable.h index 93f400eb728f..56730f7e728a 100644 --- a/arch/x86/include/asm/extable.h +++ b/arch/x86/include/asm/extable.h @@ -21,7 +21,11 @@ */ struct exception_table_entry { +#ifndef __GENKSYMS__ int insn, fixup, type; +#else + int insn, fixup, handler; +#endif }; struct pt_regs; -- 2.20.1