Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[deliverable/linux.git] / arch / metag / mm / extable.c
1
2 #include <linux/module.h>
3 #include <linux/uaccess.h>
4
5 int fixup_exception(struct pt_regs *regs)
6 {
7 const struct exception_table_entry *fixup;
8 unsigned long pc = instruction_pointer(regs);
9
10 fixup = search_exception_tables(pc);
11 if (fixup)
12 regs->ctx.CurrPC = fixup->fixup;
13
14 return fixup != NULL;
15 }
This page took 0.030427 seconds and 5 git commands to generate.