]> 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)
commit8cbfcdea75fdc4ab73eb19d762a5d65053b795b1
tree5d805b65faeabbe24812adc88206be0ad7925180
parent12651d439d11267a8f562c598c9724b03b03e166
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