Revision 0c744ea4f77d72b3dcebb7a8f2684633ec79be88 authored by Linus Torvalds on 01 January 2017, 22:31:53 UTC, committed by Linus Torvalds on 01 January 2017, 22:31:53 UTC
1 parent 4759d38
extable.c
#include <linux/module.h>
#include <linux/uaccess.h>
int fixup_exception(struct pt_regs *regs)
{
const struct exception_table_entry *fixup;
unsigned long pc = instruction_pointer(regs);
fixup = search_exception_tables(pc);
if (fixup)
regs->ctx.CurrPC = fixup->fixup;
return fixup != NULL;
}
Computing file changes ...