summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/uaccess.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-12-28 00:00:15 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2017-03-06 02:40:25 +0100
commit5e6039d8a307d8411422c154f3d446b44fa32b6d (patch)
treeac371d0115ddadd6ca723d3bcb7b682b561ed403 /include/asm-generic/uaccess.h
parentLinux 4.11-rc1 (diff)
downloadlinux-5e6039d8a307d8411422c154f3d446b44fa32b6d.tar.xz
linux-5e6039d8a307d8411422c154f3d446b44fa32b6d.zip
uaccess: move VERIFY_{READ,WRITE} definitions to linux/uaccess.h
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/asm-generic/uaccess.h')
-rw-r--r--include/asm-generic/uaccess.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-generic/uaccess.h b/include/asm-generic/uaccess.h
index cc6bb319e464..d7c17bfd4601 100644
--- a/include/asm-generic/uaccess.h
+++ b/include/asm-generic/uaccess.h
@@ -35,9 +35,6 @@ static inline void set_fs(mm_segment_t fs)
#define segment_eq(a, b) ((a).seg == (b).seg)
#endif
-#define VERIFY_READ 0
-#define VERIFY_WRITE 1
-
#define access_ok(type, addr, size) __access_ok((unsigned long)(addr),(size))
/*