Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+3 -5
-5
arch/m68k/kernel/m68k_ksyms_no.c
··· 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
+3
arch/m68k/lib/checksum_no.c
··· 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 /* ··· 141 140 memcpy(dst, (__force const void *)src, len); 142 141 return csum_partial(dst, len, sum); 143 142 } 143 + EXPORT_SYMBOL(csum_partial_copy_from_user); 144 144 145 145 /* 146 146 * copy from ds while checksumming, otherwise like csum_partial ··· 153 151 memcpy(dst, src, len); 154 152 return csum_partial(dst, len, sum); 155 153 } 154 + EXPORT_SYMBOL(csum_partial_copy_nocheck);