blob: 9d285626bc7da4fe3e2be2e952c38923c05f5204 [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -07001/*
2 * linux/arch/arm/mm/extable.c
3 */
4#include <linux/module.h>
5#include <linux/uaccess.h>
6
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}