hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/c6x/include/asm/checksum.h
....@@ -1,10 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2011 Texas Instruments Incorporated
34 * Author: Mark Salter <msalter@redhat.com>
4
- *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License version 2 as
7
- * published by the Free Software Foundation.
85 */
96 #ifndef _ASM_C6X_CHECKSUM_H
107 #define _ASM_C6X_CHECKSUM_H
....@@ -29,6 +26,9 @@
2926 }
3027 #define csum_tcpudp_nofold csum_tcpudp_nofold
3128
29
+#define _HAVE_ARCH_CSUM_AND_COPY
30
+extern __wsum csum_partial_copy_nocheck(const void *src, void *dst, int len);
31
+
3232 #include <asm-generic/checksum.h>
3333
3434 #endif /* _ASM_C6X_CHECKSUM_H */