diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-01-11 15:51:29 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-08-08 05:47:18 +0200 |
commit | 00fc0e0dda6286407f3854cd71a125f519a5689c (patch) | |
tree | 04bae7f61ab6ac1a705e89f8b739e2d0679f212f /arch/alpha/lib/checksum.c | |
parent | x86: move exports to actual definitions (diff) | |
download | linux-00fc0e0dda6286407f3854cd71a125f519a5689c.tar.xz linux-00fc0e0dda6286407f3854cd71a125f519a5689c.zip |
alpha: move exports to actual definitions
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/alpha/lib/checksum.c')
-rw-r--r-- | arch/alpha/lib/checksum.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/alpha/lib/checksum.c b/arch/alpha/lib/checksum.c index 377f9e34eb97..b57f8007db14 100644 --- a/arch/alpha/lib/checksum.c +++ b/arch/alpha/lib/checksum.c @@ -48,6 +48,7 @@ __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, (__force u64)saddr + (__force u64)daddr + (__force u64)sum + ((len + proto) << 8)); } +EXPORT_SYMBOL(csum_tcpudp_magic); __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, __u8 proto, __wsum sum) @@ -144,6 +145,7 @@ __sum16 ip_fast_csum(const void *iph, unsigned int ihl) { return (__force __sum16)~do_csum(iph,ihl*4); } +EXPORT_SYMBOL(ip_fast_csum); /* * computes the checksum of a memory block at buff, length len, @@ -178,3 +180,4 @@ __sum16 ip_compute_csum(const void *buff, int len) { return (__force __sum16)~from64to16(do_csum(buff,len)); } +EXPORT_SYMBOL(ip_compute_csum); |