xref: /openbmc/linux/arch/x86/include/asm/checksum.h (revision 5efb685b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifdef CONFIG_GENERIC_CSUM
3 # include <asm-generic/checksum.h>
4 #else
5 # define  _HAVE_ARCH_COPY_AND_CSUM_FROM_USER 1
6 # define HAVE_CSUM_COPY_USER
7 # define _HAVE_ARCH_CSUM_AND_COPY
8 # ifdef CONFIG_X86_32
9 #  include <asm/checksum_32.h>
10 # else
11 #  include <asm/checksum_64.h>
12 # endif
13 #endif
14