aboutsummaryrefslogtreecommitdiff
path: root/arch/sh64/lib/c-checksum.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-10-01 17:36:47 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-10-01 17:36:47 +0900
commit749c84966c990092da20203a80e0749b614c79a6 (patch)
tree372b967a397d636f3cf6937a644d56660ffbfbe2 /arch/sh64/lib/c-checksum.c
parent6b3d7f02a180af0d711d259adb4eccde1c3f10cd (diff)
sh64: Some symbol exports and build fixes.
This fixes up misc build issues that were hit on the non-cayman boards. Additionally, quite a few symbols needed to be exported to fix the module build. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh64/lib/c-checksum.c')
-rw-r--r--arch/sh64/lib/c-checksum.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh64/lib/c-checksum.c b/arch/sh64/lib/c-checksum.c
index bd550176024..053137abd8a 100644
--- a/arch/sh64/lib/c-checksum.c
+++ b/arch/sh64/lib/c-checksum.c
@@ -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;