Merge tag 'chrome-platform-for-linus-4.13' of git://git.kernel.org/pub/scm/linux...
[linux/fpc-iii.git] / arch / sh / mm / extable_32.c
blob940e871bc8169cba5e119d86579078f4e3ec6294
1 /*
2 * linux/arch/sh/mm/extable.c
3 * Taken from:
4 * linux/arch/i386/mm/extable.c
5 */
7 #include <linux/extable.h>
8 #include <linux/uaccess.h>
10 #include <asm/ptrace.h>
12 int fixup_exception(struct pt_regs *regs)
14 const struct exception_table_entry *fixup;
16 fixup = search_exception_tables(regs->pc);
17 if (fixup) {
18 regs->pc = fixup->fixup;
19 return 1;
22 return 0;