.. | .. |
---|
19 | 19 | |
---|
20 | 20 | /* Given an address, look for it in the exception tables */ |
---|
21 | 21 | const struct exception_table_entry *search_exception_tables(unsigned long add); |
---|
| 22 | +const struct exception_table_entry * |
---|
| 23 | +search_kernel_exception_table(unsigned long addr); |
---|
22 | 24 | |
---|
23 | 25 | #ifdef CONFIG_MODULES |
---|
24 | 26 | /* For extable.c to search modules' exception tables. */ |
---|
.. | .. |
---|
31 | 33 | } |
---|
32 | 34 | #endif /*CONFIG_MODULES*/ |
---|
33 | 35 | |
---|
| 36 | +#ifdef CONFIG_BPF_JIT |
---|
| 37 | +const struct exception_table_entry *search_bpf_extables(unsigned long addr); |
---|
| 38 | +#else |
---|
| 39 | +static inline const struct exception_table_entry * |
---|
| 40 | +search_bpf_extables(unsigned long addr) |
---|
| 41 | +{ |
---|
| 42 | + return NULL; |
---|
| 43 | +} |
---|
| 44 | +#endif |
---|
| 45 | + |
---|
34 | 46 | #endif /* _LINUX_EXTABLE_H */ |
---|