Linux 4.6-rc6
[linux/fpc-iii.git] / arch / m32r / mm / extable.c
blob1743f23d49a320a8d1e0dec3b63942d8c8475e80
1 /*
2 * linux/arch/m32r/mm/extable.c
3 */
5 #include <linux/module.h>
6 #include <asm/uaccess.h>
8 int fixup_exception(struct pt_regs *regs)
10 const struct exception_table_entry *fixup;
12 fixup = search_exception_tables(regs->bpc);
13 if (fixup) {
14 regs->bpc = fixup->fixup;
15 return 1;
18 return 0;