diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-02-16 17:11:48 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-05-29 16:11:48 -0400 |
commit | c281a6c1ac6b0867e4341ea801030fa9a62157f9 (patch) | |
tree | 9ed14578728ee19f2fcea2dab837888d2ad0503d /arch/x86/include/asm/checksum_64.h | |
parent | 0a5ea224b2fdf9dca9291ef7b5a12fd846a5dc34 (diff) | |
download | linux-c281a6c1ac6b0867e4341ea801030fa9a62157f9.tar.gz |
x86: switch 32bit csum_and_copy_to_user() to user_access_{begin,end}()
consolidate HAVE_CSUM_COPY_USER for 32bit and 64bit, while are at it
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86/include/asm/checksum_64.h')
-rw-r--r-- | arch/x86/include/asm/checksum_64.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/include/asm/checksum_64.h b/arch/x86/include/asm/checksum_64.h index 2f8435542376..0a289b87e872 100644 --- a/arch/x86/include/asm/checksum_64.h +++ b/arch/x86/include/asm/checksum_64.h @@ -129,9 +129,6 @@ static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, */ extern __wsum csum_partial(const void *buff, int len, __wsum sum); -#define HAVE_CSUM_COPY_USER 1 - - /* Do not call this directly. Use the wrappers below */ extern __visible __wsum csum_partial_copy_generic(const void *src, const void *dst, int len, __wsum sum, |