diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-03-25 18:47:28 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-03-28 18:24:05 -0400 |
commit | 3f763453e6f27d82fa0ac58f8e1ac4094c1fb1f8 (patch) | |
tree | 66b4a1ef1f7d7b9573cf8ff53da4b48690a588e0 /arch/x86/include/asm/uaccess_64.h | |
parent | 122b05ddf506e637336dcf64b5a129825f7bf6d4 (diff) | |
download | lwn-3f763453e6f27d82fa0ac58f8e1ac4094c1fb1f8.tar.gz lwn-3f763453e6f27d82fa0ac58f8e1ac4094c1fb1f8.zip |
kill __copy_from_user_nocache()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86/include/asm/uaccess_64.h')
-rw-r--r-- | arch/x86/include/asm/uaccess_64.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/include/asm/uaccess_64.h b/arch/x86/include/asm/uaccess_64.h index 142f0f1230be..242936b0cb4b 100644 --- a/arch/x86/include/asm/uaccess_64.h +++ b/arch/x86/include/asm/uaccess_64.h @@ -261,14 +261,6 @@ extern long __copy_user_nocache(void *dst, const void __user *src, unsigned size, int zerorest); static inline int -__copy_from_user_nocache(void *dst, const void __user *src, unsigned size) -{ - might_fault(); - kasan_check_write(dst, size); - return __copy_user_nocache(dst, src, size, 1); -} - -static inline int __copy_from_user_inatomic_nocache(void *dst, const void __user *src, unsigned size) { |