summaryrefslogtreecommitdiff
path: root/arch/cris/include/asm/checksum.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/cris/include/asm/checksum.h')
-rw-r--r--arch/cris/include/asm/checksum.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/cris/include/asm/checksum.h b/arch/cris/include/asm/checksum.h
index 75dcb77d6cb0..ea949c60b190 100644
--- a/arch/cris/include/asm/checksum.h
+++ b/arch/cris/include/asm/checksum.h
@@ -63,9 +63,8 @@ static inline __sum16 ip_fast_csum(const void *iph, unsigned int ihl)
*/
static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr,
- unsigned short len,
- unsigned short proto,
- __wsum sum)
+ __u32 len, __u8 proto,
+ __wsum sum)
{
return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum));
}