summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/checksum.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--arch/sparc/include/asm/checksum.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/checksum.h b/arch/sparc/include/asm/checksum.h
new file mode 100644
index 000000000..f2ac13323
--- /dev/null
+++ b/arch/sparc/include/asm/checksum.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef ___ASM_SPARC_CHECKSUM_H
+#define ___ASM_SPARC_CHECKSUM_H
+#define _HAVE_ARCH_CSUM_AND_COPY
+#define _HAVE_ARCH_COPY_AND_CSUM_FROM_USER
+#define HAVE_CSUM_COPY_USER
+#if defined(__sparc__) && defined(__arch64__)
+#include <asm/checksum_64.h>
+#else
+#include <asm/checksum_32.h>
+#endif
+#endif