blob: 9d285626bc7da4fe3e2be2e952c38923c05f5204 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * linux/arch/arm/mm/extable.c
3 */
4#include <linux/module.h>
Russell King33fa9b12008-09-06 11:35:55 +01005#include <linux/uaccess.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07006
7int 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}