1 #include <linux/extable.h>
2 #include <linux/uaccess.h>
4 int fixup_exception(struct pt_regs
*regs
)
6 const struct exception_table_entry
*fixup
;
7 unsigned long pc
= instruction_pointer(regs
);
9 fixup
= search_exception_tables(pc
);
11 regs
->ctx
.CurrPC
= fixup
->fixup
;