1 // SPDX-License-Identifier: GPL-2.0
3 * linux/arch/sh/mm/extable.c
5 * linux/arch/i386/mm/extable.c
8 #include <linux/extable.h>
9 #include <linux/uaccess.h>
11 #include <asm/ptrace.h>
13 int fixup_exception(struct pt_regs
*regs
)
15 const struct exception_table_entry
*fixup
;
17 fixup
= search_exception_tables(regs
->pc
);
19 regs
->pc
= fixup
->fixup
;