summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/checksum.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-02-16 17:11:48 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2020-05-29 16:11:48 -0400
commitc281a6c1ac6b0867e4341ea801030fa9a62157f9 (patch)
tree9ed14578728ee19f2fcea2dab837888d2ad0503d /arch/x86/include/asm/checksum.h
parent0a5ea224b2fdf9dca9291ef7b5a12fd846a5dc34 (diff)
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.h')
-rw-r--r--arch/x86/include/asm/checksum.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/checksum.h b/arch/x86/include/asm/checksum.h
index 1ab9572ae4c2..0ada98d5d09f 100644
--- a/arch/x86/include/asm/checksum.h
+++ b/arch/x86/include/asm/checksum.h
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0 */
#define _HAVE_ARCH_COPY_AND_CSUM_FROM_USER 1
+#define HAVE_CSUM_COPY_USER
#ifdef CONFIG_X86_32
# include <asm/checksum_32.h>
#else