MIPS: BCM1480: Remove checks for CONFIG_SIBYTE_BCM1480_PROF
[linux/fpc-iii.git] / arch / metag / mm / extable.c
blob2a21eaebe84d1096cc37fe65f393b613732b3587
2 #include <linux/module.h>
3 #include <linux/uaccess.h>
5 int fixup_exception(struct pt_regs *regs)
7 const struct exception_table_entry *fixup;
8 unsigned long pc = instruction_pointer(regs);
10 fixup = search_exception_tables(pc);
11 if (fixup)
12 regs->ctx.CurrPC = fixup->fixup;
14 return fixup != NULL;