aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/checksum.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/include/asm/checksum.h')
-rw-r--r--arch/arm64/include/asm/checksum.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/checksum.h b/arch/arm64/include/asm/checksum.h
index d064a50deb5f..8d2a7de39744 100644
--- a/arch/arm64/include/asm/checksum.h
+++ b/arch/arm64/include/asm/checksum.h
@@ -35,6 +35,9 @@ static inline __sum16 ip_fast_csum(const void *iph, unsigned int ihl)
}
#define ip_fast_csum ip_fast_csum
+extern unsigned int do_csum(const unsigned char *buff, int len);
+#define do_csum do_csum
+
#include <asm-generic/checksum.h>
#endif /* __ASM_CHECKSUM_H */