kernel/arch/arm64/include/asm/extable.h
.. .. @@ -22,5 +22,17 @@ 22 22 23 23 #define ARCH_HAS_RELATIVE_EXTABLE 24 24 25 +#ifdef CONFIG_BPF_JIT26 +int arm64_bpf_fixup_exception(const struct exception_table_entry *ex,27 + struct pt_regs *regs);28 +#else /* !CONFIG_BPF_JIT */29 +static inline30 +int arm64_bpf_fixup_exception(const struct exception_table_entry *ex,31 + struct pt_regs *regs)32 +{33 + return 0;34 +}35 +#endif /* !CONFIG_BPF_JIT */36 +25 37 extern int fixup_exception(struct pt_regs *regs); 26 38 #endif