Linux 4.9.243
[linux/fpc-iii.git] / arch / arm64 / mm / extable.c
blobc9f118cd812bb0e435e402281d1289227a2a8608
1 /*
2 * Based on arch/arm/mm/extable.c
3 */
5 #include <linux/extable.h>
6 #include <linux/uaccess.h>
8 int fixup_exception(struct pt_regs *regs)
10 const struct exception_table_entry *fixup;
12 fixup = search_exception_tables(instruction_pointer(regs));
13 if (fixup)
14 regs->pc = (unsigned long)&fixup->fixup + fixup->fixup;
16 return fixup != NULL;