diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-10-01 04:36:47 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-10-01 04:36:47 -0400 |
commit | 749c84966c990092da20203a80e0749b614c79a6 (patch) | |
tree | 372b967a397d636f3cf6937a644d56660ffbfbe2 /arch/sh64/lib/c-checksum.c | |
parent | 6b3d7f02a180af0d711d259adb4eccde1c3f10cd (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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh64/lib/c-checksum.c b/arch/sh64/lib/c-checksum.c index bd5501760240..053137abd8a0 100644 --- a/arch/sh64/lib/c-checksum.c +++ b/arch/sh64/lib/c-checksum.c | |||
@@ -10,6 +10,7 @@ | |||
10 | #include <linux/string.h> | 10 | #include <linux/string.h> |
11 | #include <linux/errno.h> | 11 | #include <linux/errno.h> |
12 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
13 | #include <linux/module.h> | ||
13 | #include <asm/byteorder.h> | 14 | #include <asm/byteorder.h> |
14 | #include <asm/uaccess.h> | 15 | #include <asm/uaccess.h> |
15 | 16 | ||
@@ -110,7 +111,7 @@ static unsigned long do_csum(const unsigned char *buff, int len) | |||
110 | if (odd) | 111 | if (odd) |
111 | result = ((result >> 8) & 0xff) | ((result & 0xff) << 8); | 112 | result = ((result >> 8) & 0xff) | ((result & 0xff) << 8); |
112 | 113 | ||
113 | pr_debug("\nCHECKSUM is 0x%x\n", result); | 114 | pr_debug("\nCHECKSUM is 0x%lx\n", result); |
114 | 115 | ||
115 | out: | 116 | out: |
116 | return result; | 117 | return result; |