回复: [PATCH 1/3] arch: unicore32: ksyms: export additional find_first_*() to avoid compiling failure
- Chen Gang 写道: > 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 Acked-by: Xuetao Guan > --- > arch/unicore32/kernel/ksyms.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/unicore32/kernel/ksyms.c b/arch/unicore32/kernel/ksyms.c > index e78911a..0323528 100644 > --- a/arch/unicore32/kernel/ksyms.c > +++ b/arch/unicore32/kernel/ksyms.c > @@ -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); > > -- > 1.9.2.459.g68773ac -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 1/3] 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 --- arch/unicore32/kernel/ksyms.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/unicore32/kernel/ksyms.c b/arch/unicore32/kernel/ksyms.c index e78911a..0323528 100644 --- a/arch/unicore32/kernel/ksyms.c +++ b/arch/unicore32/kernel/ksyms.c @@ -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); -- 1.9.2.459.g68773ac -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 1/3] 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.5...@gmail.com --- arch/unicore32/kernel/ksyms.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/unicore32/kernel/ksyms.c b/arch/unicore32/kernel/ksyms.c index e78911a..0323528 100644 --- a/arch/unicore32/kernel/ksyms.c +++ b/arch/unicore32/kernel/ksyms.c @@ -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); -- 1.9.2.459.g68773ac -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
回复: [PATCH 1/3] arch: unicore32: ksyms: export additional find_first_*() to avoid compiling failure
- Chen Gang gang.chen.5...@gmail.com 写道: 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.5...@gmail.com Acked-by: Xuetao Guan g...@mprc.pku.edu.cn --- arch/unicore32/kernel/ksyms.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/unicore32/kernel/ksyms.c b/arch/unicore32/kernel/ksyms.c index e78911a..0323528 100644 --- a/arch/unicore32/kernel/ksyms.c +++ b/arch/unicore32/kernel/ksyms.c @@ -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); -- 1.9.2.459.g68773ac -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/