From: Chen Gang <gang.chen@asianux.com>
To: "vgupta@synopsys.com" <vgupta@synopsys.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] arc: kernel: export symbol for pm_power_off in reset.c
Date: Mon, 28 Oct 2013 12:09:45 +0800 [thread overview]
Message-ID: <526DE389.30404@asianux.com> (raw)
In-Reply-To: <526DDEDB.4030503@asianux.com>
After this patch, and with limitations below, arc finishes allmodconfig.
- with EXTRA_CFLAGS=-mmedium-calls.
- disable CONFIG_CC_OPTIMIZE_FOR_SIZE.
- by pass 5-7 gcc issues (4-5 may duplicate).
- by pass 1 binutils issue (when disable CONFIG_CC_OPTIMIZE_FOR_SIZE).
Next (within 2013-10-31) I will/should:
- shrink cross-compilers information, at least.
- finish the patch for "portable assembler code - newline"
Left:
- it also content sevaval warnings (even not use "EXTRA_CFLAGS=-W").
- for next-20130927 tree, arc can not pass defconfig, either.
- not let it run under kvm (I don't know whether we support kvm).
Thanks.
On 10/28/2013 11:49 AM, Chen Gang wrote:
> Need export symbol for it, or can not pass compiling, the related error
> with allmodconfig:
>
> MODPOST 2994 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@asianux.com>
> ---
> arch/arc/kernel/reset.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arc/kernel/reset.c b/arch/arc/kernel/reset.c
> index e227a2b..2768fa1 100644
> --- a/arch/arc/kernel/reset.c
> +++ b/arch/arc/kernel/reset.c
> @@ -31,3 +31,4 @@ void machine_power_off(void)
> }
>
> void (*pm_power_off) (void) = NULL;
> +EXPORT_SYMBOL(pm_power_off);
>
--
Chen Gang
next prev parent reply other threads:[~2013-10-28 4:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-28 3:49 [PATCH] arc: kernel: export symbol for pm_power_off in reset.c Chen Gang
2013-10-28 4:09 ` Chen Gang [this message]
2013-10-28 14:09 ` Vineet Gupta
2013-10-29 1:09 ` 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=526DE389.30404@asianux.com \
--to=gang.chen@asianux.com \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=vgupta@synopsys.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.