diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-12-27 18:00:15 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-03-05 20:40:25 -0500 |
commit | 5e6039d8a307d8411422c154f3d446b44fa32b6d (patch) | |
tree | ac371d0115ddadd6ca723d3bcb7b682b561ed403 /include/linux/uaccess.h | |
parent | c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 (diff) | |
download | blackbird-obmc-linux-5e6039d8a307d8411422c154f3d446b44fa32b6d.tar.gz blackbird-obmc-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/linux/uaccess.h')
-rw-r--r-- | include/linux/uaccess.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/uaccess.h b/include/linux/uaccess.h index f30c187ed785..b660f37beaf5 100644 --- a/include/linux/uaccess.h +++ b/include/linux/uaccess.h @@ -2,6 +2,10 @@ #define __LINUX_UACCESS_H__ #include <linux/sched.h> + +#define VERIFY_READ 0 +#define VERIFY_WRITE 1 + #include <asm/uaccess.h> static __always_inline void pagefault_disabled_inc(void) |