Skip to content
Commit c20eb0f1 authored by James Hogan's avatar James Hogan
Browse files

metag: move EXPORT_SYMBOL(csum_partial) to metag_ksyms.c



Move EXPORT_SYMBOL(csum_partial) from lib/checksum.c into metag_ksyms.c
so that it doesn't get omitted by the static linker if it's not used by
any other statically linked code, which can result in undefined symbols
when building modules.

For example a randconfig caused the following error:
ERROR: "csum_partial" [fs/reiserfs/reiserfs.ko] undefined!

Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
parent 8b8b2412
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment