public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chen Gang <gang.chen.5i5j@gmail.com>
To: Guan Xuetao <gxt@mprc.pku.edu.cn>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: [PATCH 1/3] arch: unicore32: ksyms: export additional find_first_*() to avoid compiling failure
Date: Tue, 27 May 2014 08:03:19 +0800	[thread overview]
Message-ID: <5383D647.9020508@gmail.com> (raw)
In-Reply-To: <5383D5F5.2000303@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.5i5j@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

  reply	other threads:[~2014-05-27  0:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-27  0:01 [PATCH 0/3] arch: unicore32: ksyms: export several implemeted symbols to avoid compiling failure Chen Gang
2014-05-27  0:03 ` Chen Gang [this message]
2014-05-27  0:13   ` 回复: [PATCH 1/3] arch: unicore32: ksyms: export additional find_first_*() " 管雪涛
2014-05-27  0:04 ` [PATCH 2/3] arch: unicore32: ksyms: export 'pm_power_off' " Chen Gang
2014-05-27  0:14   ` 回复: " 管雪涛
2014-05-27  0:08 ` [PATCH 3/3] arch: unicore32: ksyms: export '__cpuc_coherent_kern_range' " Chen Gang
2014-05-27  0:14   ` 回复: " 管雪涛
2014-05-27  0:13 ` 回复: [PATCH 0/3] arch: unicore32: ksyms: export several implemeted symbols " 管雪涛
2014-05-27  0:32   ` Chen Gang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5383D647.9020508@gmail.com \
    --to=gang.chen.5i5j@gmail.com \
    --cc=gxt@mprc.pku.edu.cn \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox