diff options
Diffstat (limited to 'arch/hexagon/include/asm/checksum.h')
-rw-r--r-- | arch/hexagon/include/asm/checksum.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/hexagon/include/asm/checksum.h b/arch/hexagon/include/asm/checksum.h index 46ec8a7fd65f..d9f58d696238 100644 --- a/arch/hexagon/include/asm/checksum.h +++ b/arch/hexagon/include/asm/checksum.h | |||
@@ -38,12 +38,12 @@ __wsum csum_partial_copy_nocheck(const void *src, void *dst, | |||
38 | * returns a 16-bit checksum, already complemented | 38 | * returns a 16-bit checksum, already complemented |
39 | */ | 39 | */ |
40 | #define csum_tcpudp_nofold csum_tcpudp_nofold | 40 | #define csum_tcpudp_nofold csum_tcpudp_nofold |
41 | __wsum csum_tcpudp_nofold(unsigned long saddr, unsigned long daddr, | 41 | __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, |
42 | unsigned short len, unsigned short proto, __wsum sum); | 42 | __u32 len, __u8 proto, __wsum sum); |
43 | 43 | ||
44 | #define csum_tcpudp_magic csum_tcpudp_magic | 44 | #define csum_tcpudp_magic csum_tcpudp_magic |
45 | __sum16 csum_tcpudp_magic(unsigned long saddr, unsigned long daddr, | 45 | __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, |
46 | unsigned short len, unsigned short proto, __wsum sum); | 46 | __u32 len, __u8 proto, __wsum sum); |
47 | 47 | ||
48 | #include <asm-generic/checksum.h> | 48 | #include <asm-generic/checksum.h> |
49 | 49 | ||