diff options
author | Chen Gang <gang.chen.5i5j@gmail.com> | 2014-07-09 04:48:45 -0400 |
---|---|---|
committer | Lennox Wu <lennox.wu@gmail.com> | 2014-10-04 13:18:16 -0400 |
commit | 51de2f11f5d4d51ad3a77ea3ef67e7b66f6709f5 (patch) | |
tree | d3c2ac8dd71d81051d24000130aeaaece357b70e | |
parent | 58586869599f6bb38aeca71a847cd77bfea74808 (diff) |
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>
-rw-r--r-- | arch/score/lib/checksum_copy.c | 1 | ||||
-rw-r--r-- | arch/score/mm/cache.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/score/lib/checksum_copy.c b/arch/score/lib/checksum_copy.c index 04565dd3ded8..9b770b30e8a5 100644 --- a/arch/score/lib/checksum_copy.c +++ b/arch/score/lib/checksum_copy.c | |||
@@ -50,3 +50,4 @@ unsigned int csum_partial_copy_from_user(const char *src, char *dst, | |||
50 | 50 | ||
51 | return csum_partial(dst, len, sum); | 51 | return csum_partial(dst, len, sum); |
52 | } | 52 | } |
53 | EXPORT_SYMBOL(csum_partial_copy_from_user); | ||
diff --git a/arch/score/mm/cache.c b/arch/score/mm/cache.c index f85ec1a7c88e..be9104159c41 100644 --- a/arch/score/mm/cache.c +++ b/arch/score/mm/cache.c | |||
@@ -72,6 +72,7 @@ void flush_dcache_page(struct page *page) | |||
72 | addr = (unsigned long) page_address(page); | 72 | addr = (unsigned long) page_address(page); |
73 | flush_data_cache_page(addr); | 73 | flush_data_cache_page(addr); |
74 | } | 74 | } |
75 | EXPORT_SYMBOL(flush_dcache_page); | ||
75 | 76 | ||
76 | /* called by update_mmu_cache. */ | 77 | /* called by update_mmu_cache. */ |
77 | void __update_cache(struct vm_area_struct *vma, unsigned long address, | 78 | void __update_cache(struct vm_area_struct *vma, unsigned long address, |