summaryrefslogtreecommitdiff
path: root/arch/blackfin/lib/checksum.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-05 20:43:39 +0400
committerMike Frysinger <vapier@gentoo.org>2009-06-13 15:20:06 +0400
commitaa286ba3aef7d1b78467313111a13888fb4c3a66 (patch)
tree493c462be9da9a27231b58020905c2cf635b5556 /arch/blackfin/lib/checksum.c
parent16aadcb680e188bd0a6d7b0ecd5d0ceabd4fba4d (diff)
downloadlinux-aa286ba3aef7d1b78467313111a13888fb4c3a66.tar.xz
Blackfin: export ip_compute_csum/csum_partial_copy_from_user symbols
All other arches do this, and some places like the net/scsi code will fail as modules without them. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/lib/checksum.c')
-rw-r--r--arch/blackfin/lib/checksum.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/lib/checksum.c b/arch/blackfin/lib/checksum.c
index 762a7f02970a..cd605e7d8518 100644
--- a/arch/blackfin/lib/checksum.c
+++ b/arch/blackfin/lib/checksum.c
@@ -116,6 +116,7 @@ __sum16 ip_compute_csum(const void *buff, int len)
{
return (__force __sum16)~do_csum(buff, len);
}
+EXPORT_SYMBOL(ip_compute_csum);
/*
* copy from fs while checksumming, otherwise like csum_partial
@@ -130,6 +131,7 @@ csum_partial_copy_from_user(const void __user *src, void *dst,
memcpy(dst, (__force void *)src, len);
return csum_partial(dst, len, sum);
}
+EXPORT_SYMBOL(csum_partial_copy_from_user);
/*
* copy from ds while checksumming, otherwise like csum_partial