hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm64/include/asm/extable.h
....@@ -22,5 +22,17 @@
2222
2323 #define ARCH_HAS_RELATIVE_EXTABLE
2424
25
+#ifdef CONFIG_BPF_JIT
26
+int arm64_bpf_fixup_exception(const struct exception_table_entry *ex,
27
+ struct pt_regs *regs);
28
+#else /* !CONFIG_BPF_JIT */
29
+static inline
30
+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
+
2537 extern int fixup_exception(struct pt_regs *regs);
2638 #endif