http://www.hht-eu.com/pls/hht/docs/F3140/bcm963xx_Speedport500V.0.09.04L.300L01.V27_c...
[bcm963xx.git] / kernel / linux / arch / arm26 / mm / extable.c
1 /*
2  *  linux/arch/arm/mm/extable.c
3  */
4
5 #include <linux/config.h>
6 #include <linux/module.h>
7 #include <asm/uaccess.h>
8
9 int fixup_exception(struct pt_regs *regs)
10 {
11         const struct exception_table_entry *fixup;
12
13         fixup = search_exception_tables(instruction_pointer(regs));
14         if (fixup)
15                 regs->ARM_pc = fixup->fixup | PSR_I_BIT | MODE_SVC26;
16
17         return fixup != NULL;
18 }
19