aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m32r/mm/extable.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m32r/mm/extable.c')
-rw-r--r--arch/m32r/mm/extable.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/m32r/mm/extable.c b/arch/m32r/mm/extable.c
deleted file mode 100644
index 066982756a4e..000000000000
--- a/arch/m32r/mm/extable.c
+++ /dev/null
@@ -1,20 +0,0 @@
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * linux/arch/m32r/mm/extable.c
4 */
5
6#include <linux/extable.h>
7#include <linux/uaccess.h>
8
9int fixup_exception(struct pt_regs *regs)
10{
11 const struct exception_table_entry *fixup;
12
13 fixup = search_exception_tables(regs->bpc);
14 if (fixup) {
15 regs->bpc = fixup->fixup;
16 return 1;
17 }
18
19 return 0;
20}