xref: /openbmc/linux/arch/sparc/include/asm/checksum.h (revision 404e077a)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ___ASM_SPARC_CHECKSUM_H
3 #define ___ASM_SPARC_CHECKSUM_H
4 #define _HAVE_ARCH_CSUM_AND_COPY
5 #define _HAVE_ARCH_COPY_AND_CSUM_FROM_USER
6 #define HAVE_CSUM_COPY_USER
7 #if defined(__sparc__) && defined(__arch64__)
8 #include <asm/checksum_64.h>
9 #else
10 #include <asm/checksum_32.h>
11 #endif
12 #endif
13