avr32: 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:24 +0000 (18:23 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/avr32/include/asm/Kbuild
arch/avr32/include/asm/uaccess.h

index 3d7ef2c17a7c8d382cabcf1bdaad87534ec0c268..ff7d7393b25c69511d54303ba72e0dfbba7a00ee 100644 (file)
@@ -5,6 +5,7 @@ generic-y += device.h
 generic-y += div64.h
 generic-y += emergency-restart.h
 generic-y += exec.h
+generic-y += extable.h
 generic-y += futex.h
 generic-y += irq_regs.h
 generic-y += irq_work.h
index 7ca5cb33369b0c82e1657669a7184fd798d35fb2..5f3ce85c1ed7e92c0f480dfcfed924eb63cc9ca7 100644 (file)
@@ -323,9 +323,6 @@ extern long __strnlen_user(const char __user *__s, long __n);
 
 #define strlen_user(s) strnlen_user(s, ~0UL >> 1)
 
-struct exception_table_entry
-{
-       unsigned long insn, fixup;
-};
+#include <asm/extable.h>
 
 #endif /* __ASM_AVR32_UACCESS_H */