]> Git Repo - linux.git/blob - arch/sh/mm/extable_32.c
mm/slub.c: add a naive detection of double free or corruption
[linux.git] / arch / sh / mm / extable_32.c
1 /*
2  * linux/arch/sh/mm/extable.c
3  *  Taken from:
4  *   linux/arch/i386/mm/extable.c
5  */
6
7 #include <linux/extable.h>
8 #include <linux/uaccess.h>
9
10 #include <asm/ptrace.h>
11
12 int fixup_exception(struct pt_regs *regs)
13 {
14         const struct exception_table_entry *fixup;
15
16         fixup = search_exception_tables(regs->pc);
17         if (fixup) {
18                 regs->pc = fixup->fixup;
19                 return 1;
20         }
21
22         return 0;
23 }
This page took 0.032208 seconds and 4 git commands to generate.