]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
m32r: switch to generic extable.h
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 25 Dec 2016 08:33:03 +0000 (03:33 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 28 Mar 2017 22:23:38 +0000 (18:23 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/m32r/include/asm/Kbuild
arch/m32r/include/asm/uaccess.h

index deb298777df2b96b5a51b6f6b3ec06cfdd423afa..c000ffac858617c275313d8ba52b28b2f57a58f7 100644 (file)
@@ -2,6 +2,7 @@
 generic-y += clkdev.h
 generic-y += current.h
 generic-y += exec.h
+generic-y += extable.h
 generic-y += irq_work.h
 generic-y += kvm_para.h
 generic-y += mcs_spinlock.h
index 96b0efdb5f222debe6f9ca884443899f8af8c815..e47dcc05a0f2bac9e984b1878bd767c7466c34d7 100644 (file)
@@ -109,25 +109,7 @@ static inline int access_ok(int type, const void *addr, unsigned long size)
 }
 #endif /* CONFIG_MMU */
 
-/*
- * The exception table consists of pairs of addresses: the first is the
- * address of an instruction that is allowed to fault, and the second is
- * the address at which the program should continue.  No registers are
- * modified, so it is entirely up to the continuation code to figure out
- * what to do.
- *
- * All the routines below use bits of fixup code that are out of line
- * with the main instruction path.  This means when everything is well,
- * we don't even have to jump over them.  Further, they do not intrude
- * on our cache or tlb entries.
- */
-
-struct exception_table_entry
-{
-       unsigned long insn, fixup;
-};
-
-extern int fixup_exception(struct pt_regs *regs);
+#include <asm/extable.h>
 
 /*
  * These are the main single-value transfer routines.  They automatically