extable.c revision 1cc1265e9a8579be0029cd675ec22a6151893e04
1/*
2 * linux/arch/m32r/mm/extable.c
3 */
4
5#include <linux/module.h>
6#include <asm/uaccess.h>
7
8int 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}
20