summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/asm/uaccess.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-12-25 20:34:44 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2017-03-29 00:24:07 +0200
commit0b46a94e84c1323d54f8b82eacd3143400fb9521 (patch)
tree9ad94ce7e04013e1d120807166ddfc70cdf9049c /arch/xtensa/include/asm/uaccess.h
parentgeneric ...copy_..._user primitives (diff)
downloadlinux-0b46a94e84c1323d54f8b82eacd3143400fb9521.tar.xz
linux-0b46a94e84c1323d54f8b82eacd3143400fb9521.zip
xtensa: switch to generic extable.h
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/xtensa/include/asm/uaccess.h')
-rw-r--r--arch/xtensa/include/asm/uaccess.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/xtensa/include/asm/uaccess.h b/arch/xtensa/include/asm/uaccess.h
index 26512692e28f..0f338774af99 100644
--- a/arch/xtensa/include/asm/uaccess.h
+++ b/arch/xtensa/include/asm/uaccess.h
@@ -18,6 +18,7 @@
#include <linux/prefetch.h>
#include <asm/types.h>
+#include <asm/extable.h>
/*
* The fs value determines whether argument validity checking should
@@ -342,10 +343,4 @@ static inline long strnlen_user(const char *str, long len)
return __strnlen_user(str, len);
}
-
-struct exception_table_entry
-{
- unsigned long insn, fixup;
-};
-
#endif /* _XTENSA_UACCESS_H */