]> err.no Git - linux-2.6/blobdiff - arch/sh64/lib/c-checksum.c
[ARM] 4652/1: pxa: fix a typo of pxa27x usb host clk definition
[linux-2.6] / arch / sh64 / lib / c-checksum.c
index 4b2676380deb60a47ce1fe7a11c2c77c6851cd2d..053137abd8a00843ec374c27cc8b44a0d271c65f 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/string.h>
 #include <linux/errno.h>
 #include <linux/kernel.h>
+#include <linux/module.h>
 #include <asm/byteorder.h>
 #include <asm/uaccess.h>
 
@@ -110,7 +111,7 @@ static unsigned long do_csum(const unsigned char *buff, int len)
        if (odd)
                result = ((result >> 8) & 0xff) | ((result & 0xff) << 8);
 
-       pr_debug("\nCHECKSUM is 0x%x\n", result);
+       pr_debug("\nCHECKSUM is 0x%lx\n", result);
 
       out:
        return result;
@@ -213,3 +214,4 @@ __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr,
 
        return (__wsum)result;
 }
+EXPORT_SYMBOL(csum_tcpudp_nofold);