]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sh/checksum.h
sh: Kill off remaining config.h references.
[linux-2.6-omap-h63xx.git] / include / asm-sh / checksum.h
index fa03b30c4269f6ee60080ba2982c4c986ca8417a..08168afe6746a3d43a6e93da269566dad4c8bcc3 100644 (file)
@@ -159,6 +159,7 @@ static __inline__ unsigned short ip_compute_csum(unsigned char * buff, int len)
 }
 
 #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,
@@ -194,6 +195,7 @@ static __inline__ unsigned short int csum_ipv6_magic(struct in6_addr *saddr,
 
        return csum_fold(sum);
 }
+#endif
 
 /* 
  *     Copy and checksum to user