From: 管雪涛 <gxt@pku.edu.cn>
To: Chen Gang <gang.chen.5i5j@gmail.com>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>, linux-kernel@vger.kernel.org
Subject: 回复: [PATCH 2/3] arch: unicore32: ksyms: export 'pm_power_off' to avoid compiling failure.
Date: Tue, 27 May 2014 08:14:07 +0800 (CST) [thread overview]
Message-ID: <1335905329.23803.1401149647833.JavaMail.root@bj-mail03.pku.edu.cn> (raw)
In-Reply-To: <5383D688.3080900@gmail.com>
----- Chen Gang <gang.chen.5i5j@gmail.com> 写道:
> Two driver modules need 'pm_power_off', so export it.
>
> The related error (with allmodconfig under unicore32):
>
> MODPOST 4039 modules
> ERROR: "pm_power_off" [drivers/mfd/retu-mfd.ko] undefined!
> ERROR: "pm_power_off" [drivers/char/ipmi/ipmi_poweroff.ko] undefined!
>
>
> Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Acked-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
> ---
> arch/unicore32/kernel/process.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/unicore32/kernel/process.c b/arch/unicore32/kernel/process.c
> index 778ebba..b008e99 100644
> --- a/arch/unicore32/kernel/process.c
> +++ b/arch/unicore32/kernel/process.c
> @@ -60,6 +60,7 @@ void machine_halt(void)
> * Function pointers to optional machine specific functions
> */
> void (*pm_power_off)(void) = NULL;
> +EXPORT_SYMBOL(pm_power_off);
>
> void machine_power_off(void)
> {
> --
> 1.9.2.459.g68773ac
next prev parent reply other threads:[~2014-05-27 0:14 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 " Chen Gang
2014-05-27 0:03 ` [PATCH 1/3] arch: unicore32: ksyms: export additional find_first_*() " Chen Gang
2014-05-27 0:13 ` 回复: " 管雪涛
2014-05-27 0:04 ` [PATCH 2/3] arch: unicore32: ksyms: export 'pm_power_off' " Chen Gang
2014-05-27 0:14 ` 管雪涛 [this message]
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=1335905329.23803.1401149647833.JavaMail.root@bj-mail03.pku.edu.cn \
--to=gxt@pku.edu.cn \
--cc=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
all inboxes | Powered by JetHome®