summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/checksum_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/checksum_32.h')
-rw-r--r--arch/sparc/include/asm/checksum_32.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc/include/asm/checksum_32.h b/arch/sparc/include/asm/checksum_32.h
index 86ae655a3c0f..eff748c871ec 100644
--- a/arch/sparc/include/asm/checksum_32.h
+++ b/arch/sparc/include/asm/checksum_32.h
@@ -199,8 +199,7 @@ static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr,
static inline __sum16 csum_ipv6_magic(const struct in6_addr *saddr,
const struct in6_addr *daddr,
- __u32 len, unsigned short proto,
- __wsum sum)
+ __u32 len, __u8 proto, __wsum sum)
{
__asm__ __volatile__ (
"addcc %3, %4, %%g4\n\t"