diff options
Diffstat (limited to 'arch/blackfin/lib/checksum.c')
-rw-r--r-- | arch/blackfin/lib/checksum.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/blackfin/lib/checksum.c b/arch/blackfin/lib/checksum.c index 5c87505165d3..762a7f02970a 100644 --- a/arch/blackfin/lib/checksum.c +++ b/arch/blackfin/lib/checksum.c | |||
@@ -29,6 +29,7 @@ | |||
29 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 29 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
30 | */ | 30 | */ |
31 | 31 | ||
32 | #include <linux/module.h> | ||
32 | #include <net/checksum.h> | 33 | #include <net/checksum.h> |
33 | #include <asm/checksum.h> | 34 | #include <asm/checksum.h> |
34 | 35 | ||
@@ -76,6 +77,7 @@ __sum16 ip_fast_csum(unsigned char *iph, unsigned int ihl) | |||
76 | { | 77 | { |
77 | return (__force __sum16)~do_csum(iph, ihl * 4); | 78 | return (__force __sum16)~do_csum(iph, ihl * 4); |
78 | } | 79 | } |
80 | EXPORT_SYMBOL(ip_fast_csum); | ||
79 | 81 | ||
80 | /* | 82 | /* |
81 | * computes the checksum of a memory block at buff, length len, | 83 | * computes the checksum of a memory block at buff, length len, |
@@ -104,6 +106,7 @@ __wsum csum_partial(const void *buff, int len, __wsum sum) | |||
104 | 106 | ||
105 | return sum; | 107 | return sum; |
106 | } | 108 | } |
109 | EXPORT_SYMBOL(csum_partial); | ||
107 | 110 | ||
108 | /* | 111 | /* |
109 | * this routine is used for miscellaneous IP-like checksums, mainly | 112 | * this routine is used for miscellaneous IP-like checksums, mainly |
@@ -137,3 +140,4 @@ __wsum csum_partial_copy(const void *src, void *dst, int len, __wsum sum) | |||
137 | memcpy(dst, src, len); | 140 | memcpy(dst, src, len); |
138 | return csum_partial(dst, len, sum); | 141 | return csum_partial(dst, len, sum); |
139 | } | 142 | } |
143 | EXPORT_SYMBOL(csum_partial_copy); | ||