Commit b33972eb476401637c345b6eb91969b2df7e1ec0
1 parent
67cc09ed70
Exists in
master
and in
7 other branches
m68knommu: move EXPORT of local checksumming functions to definitions
The EXPORT_SYMBOL() of the local lib checksum functions belongs with the definitions, not in some other random code file. So move then there. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Showing 2 changed files with 3 additions and 5 deletions Side-by-side Diff
arch/m68k/kernel/m68k_ksyms_no.c
... | ... | @@ -18,12 +18,7 @@ |
18 | 18 | |
19 | 19 | /* platform dependent support */ |
20 | 20 | |
21 | -EXPORT_SYMBOL(ip_fast_csum); | |
22 | - | |
23 | 21 | EXPORT_SYMBOL(kernel_thread); |
24 | - | |
25 | -/* Networking helper routines. */ | |
26 | -EXPORT_SYMBOL(csum_partial_copy_nocheck); | |
27 | 22 | |
28 | 23 | /* |
29 | 24 | * libgcc functions - functions that are used internally by the |
arch/m68k/lib/checksum_no.c
... | ... | @@ -101,6 +101,7 @@ |
101 | 101 | { |
102 | 102 | return (__force __sum16)~do_csum(iph,ihl*4); |
103 | 103 | } |
104 | +EXPORT_SYMBOL(ip_fast_csum); | |
104 | 105 | #endif |
105 | 106 | |
106 | 107 | /* |
... | ... | @@ -140,6 +141,7 @@ |
140 | 141 | memcpy(dst, (__force const void *)src, len); |
141 | 142 | return csum_partial(dst, len, sum); |
142 | 143 | } |
144 | +EXPORT_SYMBOL(csum_partial_copy_from_user); | |
143 | 145 | |
144 | 146 | /* |
145 | 147 | * copy from ds while checksumming, otherwise like csum_partial |
... | ... | @@ -151,4 +153,5 @@ |
151 | 153 | memcpy(dst, src, len); |
152 | 154 | return csum_partial(dst, len, sum); |
153 | 155 | } |
156 | +EXPORT_SYMBOL(csum_partial_copy_nocheck); |