Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arch: unicore32: ksyms: export additional find_first_*() to avoid compiling failure

Some modules need find_first_bit() and find_first_zero_bit(), so export
them.

The related error (with allmodconfig under unicore32):

MODPOST 4039 modules
ERROR: "find_first_bit" [sound/soc/codecs/snd-soc-uda1380.ko] undefined!
ERROR: "find_first_zero_bit" [net/sctp/sctp.ko] undefined!
...

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Acked-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
Signed-off-by: Xuetao Guan <gxt@mprc.pku.edu.cn>

authored by

Chen Gang and committed by
Guan Xuetao
40ad2a67 8a016596

+2
+2
arch/unicore32/kernel/ksyms.c
··· 23 23 24 24 #include "ksyms.h" 25 25 26 + EXPORT_SYMBOL(find_first_bit); 27 + EXPORT_SYMBOL(find_first_zero_bit); 26 28 EXPORT_SYMBOL(find_next_zero_bit); 27 29 EXPORT_SYMBOL(find_next_bit); 28 30