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

arch: score: Export necessary symbols in related files

'csum_partial_copy_from_user' and 'flush_dcache_page' are also needed by
outside modules, so need export them in the related files.

The related error (with allmodconfig under score):

MODPOST 1365 modules
ERROR: "csum_partial_copy_from_user" [net/rxrpc/af-rxrpc.ko] undefined!
ERROR: "flush_dcache_page" [net/sunrpc/sunrpc.ko] undefined!

Acked-by: Lennox Wu <lennox.wu@gmail.com>
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>

authored by

Chen Gang and committed by
Lennox Wu
51de2f11 58586869

+2
+1
arch/score/lib/checksum_copy.c
··· 50 50 51 51 return csum_partial(dst, len, sum); 52 52 } 53 + EXPORT_SYMBOL(csum_partial_copy_from_user);
+1
arch/score/mm/cache.c
··· 72 72 addr = (unsigned long) page_address(page); 73 73 flush_data_cache_page(addr); 74 74 } 75 + EXPORT_SYMBOL(flush_dcache_page); 75 76 76 77 /* called by update_mmu_cache. */ 77 78 void __update_cache(struct vm_area_struct *vma, unsigned long address,