]>
Commit | Line | Data |
---|---|---|
1da177e4 | 1 | /* |
1cc1265e | 2 | * linux/arch/m32r/mm/extable.c |
1da177e4 LT |
3 | */ |
4 | ||
1da177e4 | 5 | #include <linux/module.h> |
1da177e4 LT |
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 | } |