Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * linux/arch/arm/mm/extable.c | |
3 | */ | |
4 | #include <linux/module.h> | |
33fa9b13 | 5 | #include <linux/uaccess.h> |
1da177e4 LT |
6 | |
7 | int fixup_exception(struct pt_regs *regs) | |
8 | { | |
9 | const struct exception_table_entry *fixup; | |
10 | ||
11 | fixup = search_exception_tables(instruction_pointer(regs)); | |
12 | if (fixup) | |
13 | regs->ARM_pc = fixup->fixup; | |
14 | ||
15 | return fixup != NULL; | |
16 | } |