summaryrefslogtreecommitdiffstats
path: root/arch/mips/lib/csum_partial_copy.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-12-10 16:05:11 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-12-10 22:52:11 +0100
commitae32ffd65bbcc32795bb9b58ed12941efeb03dff (patch)
tree2831d84c6c298e68d9a47fad7f5e22d991840086 /arch/mips/lib/csum_partial_copy.c
parent[MIPS] Move die and die_if_kernel() from system.h to ptrace.h (diff)
downloadlinux-ae32ffd65bbcc32795bb9b58ed12941efeb03dff.tar.xz
linux-ae32ffd65bbcc32795bb9b58ed12941efeb03dff.zip
[MIPS] Export csum_partial_copy_nocheck.
ibmtr.c and typhoon.c use it. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to '')
-rw-r--r--arch/mips/lib/csum_partial_copy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/lib/csum_partial_copy.c b/arch/mips/lib/csum_partial_copy.c
index 1720f2ceeeae..06771040a267 100644
--- a/arch/mips/lib/csum_partial_copy.c
+++ b/arch/mips/lib/csum_partial_copy.c
@@ -7,6 +7,7 @@
* Copyright (C) 1998, 1999 Ralf Baechle
*/
#include <linux/kernel.h>
+#include <linux/module.h>
#include <linux/types.h>
#include <asm/byteorder.h>
#include <asm/string.h>
@@ -29,6 +30,8 @@ __wsum csum_partial_copy_nocheck(const void *src,
return sum;
}
+EXPORT_SYMBOL(csum_partial_copy_nocheck);
+
/*
* Copy from userspace and compute checksum. If we catch an exception
* then zero the rest of the buffer.