Skip to content

Commit

Permalink
arch: unicore32: ksyms: export additional find_first_*() to avoid com…
Browse files Browse the repository at this point in the history
…piling 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 <[email protected]>
Acked-by: Xuetao Guan <[email protected]>
Signed-off-by: Xuetao Guan <[email protected]>
  • Loading branch information
Chen-Gang authored and gxt committed Jun 20, 2014
1 parent 8a01659 commit 40ad2a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/unicore32/kernel/ksyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

#include "ksyms.h"

EXPORT_SYMBOL(find_first_bit);
EXPORT_SYMBOL(find_first_zero_bit);
EXPORT_SYMBOL(find_next_zero_bit);
EXPORT_SYMBOL(find_next_bit);

Expand Down

0 comments on commit 40ad2a6

Please sign in to comment.