]> Git Repo - linux.git/blob - arch/metag/mm/extable.c
mm/slub.c: add a naive detection of double free or corruption
[linux.git] / arch / metag / mm / extable.c
1 #include <linux/extable.h>
2 #include <linux/uaccess.h>
3
4 int fixup_exception(struct pt_regs *regs)
5 {
6         const struct exception_table_entry *fixup;
7         unsigned long pc = instruction_pointer(regs);
8
9         fixup = search_exception_tables(pc);
10         if (fixup)
11                 regs->ctx.CurrPC = fixup->fixup;
12
13         return fixup != NULL;
14 }
This page took 0.035607 seconds and 4 git commands to generate.