Skip to content

Commit

Permalink
arch: score: Export necessary symbols in related files
Browse files Browse the repository at this point in the history
'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 <[email protected]>
Signed-off-by: Chen Gang <[email protected]>
  • Loading branch information
Chen-Gang authored and lennox committed Oct 4, 2014
1 parent 5858686 commit 51de2f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/score/lib/checksum_copy.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ unsigned int csum_partial_copy_from_user(const char *src, char *dst,

return csum_partial(dst, len, sum);
}
EXPORT_SYMBOL(csum_partial_copy_from_user);
1 change: 1 addition & 0 deletions arch/score/mm/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ void flush_dcache_page(struct page *page)
addr = (unsigned long) page_address(page);
flush_data_cache_page(addr);
}
EXPORT_SYMBOL(flush_dcache_page);

/* called by update_mmu_cache. */
void __update_cache(struct vm_area_struct *vma, unsigned long address,
Expand Down

0 comments on commit 51de2f1

Please sign in to comment.