]> git.baikalelectronics.ru Git - kernel.git/commit
CRIS: Export missing function symbols
authorJesper Nilsson <jespern@axis.com>
Tue, 7 Oct 2014 10:20:47 +0000 (12:20 +0200)
committerJesper Nilsson <jespern@axis.com>
Fri, 19 Dec 2014 23:03:22 +0000 (00:03 +0100)
commit7aef2803fda18d478a1708ec69f3360b60fd6009
tree5d805b65faeabbe24812adc88206be0ad7925180
parent139803d351ad31085798d10a300a74be0b4fce5f
CRIS: Export missing function symbols

strcmp was lost when all other string functions were removed,
but we still have an optimized version for this on CRISv32,
so any driver built as a module would not have access to this symbol.

In a similar manner, we had optimized versions of
csum_partial_copy_from_user and __do_clear_user
but no exported symbols for them, breaking bunch of other drivers
when built as a module.

At the same time, move EXPORT_SYMBOL(__copy_user) and
EXPORT_SYMBOL(__copy_user_zeroing) C-files so it's
located together with the function definition.

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/arch-v10/lib/usercopy.c
arch/cris/arch-v32/lib/usercopy.c
arch/cris/kernel/crisksyms.c