Merge master.kernel.org:/home/rmk/linux-2.6-i2c manually
[sfrench/cifs-2.6.git] / arch / m32r / mm / extable.c
1 /*
2  * linux/arch/m32r/mm/extable.c
3  */
4
5 #include <linux/module.h>
6 #include <asm/uaccess.h>
7
8 int fixup_exception(struct pt_regs *regs)
9 {
10         const struct exception_table_entry *fixup;
11
12         fixup = search_exception_tables(regs->bpc);
13         if (fixup) {
14                 regs->bpc = fixup->fixup;
15                 return 1;
16         }
17
18         return 0;
19 }