patch-2.4.23 linux-2.4.23/include/asm-sh/checksum.h

Next file: linux-2.4.23/include/asm-sh/delay.h
Previous file: linux-2.4.23/include/asm-s390x/elf.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/include/asm-sh/checksum.h linux-2.4.23/include/asm-sh/checksum.h
@@ -169,7 +169,6 @@
 }
 
 #define _HAVE_ARCH_IPV6_CSUM
-#ifdef CONFIG_IPV6
 static __inline__ unsigned short int csum_ipv6_magic(struct in6_addr *saddr,
 						     struct in6_addr *daddr,
 						     __u32 len,
@@ -205,7 +204,6 @@
 
 	return csum_fold(sum);
 }
-#endif
 
 /* 
  *	Copy and checksum to user

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)