mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

consolidate HAVE_CSUM_COPY_USER for 32bit and 64bit, while are at it Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
8 lines
207 B
C
8 lines
207 B
C
/* 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
|
|
# include <asm/checksum_64.h>
|
|
#endif
|