x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / metag / mm / extable.c
blob3aa90b78b43d4d0a25c53052d358d77ecc41d746
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);
10 if (fixup)
11 regs->ctx.CurrPC = fixup->fixup;
13 return fixup != NULL;