summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/checksum.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/include/asm/checksum.h')
-rw-r--r--arch/m68k/include/asm/checksum.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/include/asm/checksum.h b/arch/m68k/include/asm/checksum.h
index 2f88d867c711..75e91f03b178 100644
--- a/arch/m68k/include/asm/checksum.h
+++ b/arch/m68k/include/asm/checksum.h
@@ -117,7 +117,7 @@ static inline __sum16 ip_compute_csum(const void *buff, int len)
#define _HAVE_ARCH_IPV6_CSUM
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)
{
register unsigned long tmp;
__asm__("addl %2@,%0\n\t"
OpenPOWER on IntegriCloud