summaryrefslogtreecommitdiffstats
path: root/arch/c6x/include/asm/checksum.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/c6x/include/asm/checksum.h')
-rw-r--r--arch/c6x/include/asm/checksum.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/c6x/include/asm/checksum.h b/arch/c6x/include/asm/checksum.h
index 36770b8308d9..fa31bdc186b2 100644
--- a/arch/c6x/include/asm/checksum.h
+++ b/arch/c6x/include/asm/checksum.h
@@ -26,6 +26,9 @@ csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len,
}
#define csum_tcpudp_nofold csum_tcpudp_nofold
+#define _HAVE_ARCH_CSUM_AND_COPY
+extern __wsum csum_partial_copy_nocheck(const void *src, void *dst, int len, __wsum sum);
+
#include <asm-generic/checksum.h>
#endif /* _ASM_C6X_CHECKSUM_H */