From: Chen Gang <gang.chen@asianux.com>
To: Vineet Gupta <vineetg76@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
Paul Gortmaker <paul.gortmaker@windriver.com>,
pierrick.hascoet@abilis.com, christian.ruppert@abilis.com,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] arc: include: asm: remove '__init' for setup_processor() and arc_init_IRQ()
Date: Tue, 29 Oct 2013 09:11:32 +0800 [thread overview]
Message-ID: <526F0B44.7040004@asianux.com> (raw)
In-Reply-To: <526E6D14.4090202@synopsys.com>
On 10/28/2013 09:56 PM, Vineet Gupta wrote:
> On 10/23/2013 07:42 AM, Chen Gang wrote:
>> They haven't '__init' in definition, but has '__init' in declaration.
>> And normal function start_kernel_secondary() may call setup_processor()
>> which will call arc_init_IRQ().
>>
>> So need remove '__init' for both of them. The related warning (with
>> allmodconfig):
>>
>> MODPOST vmlinux.o
>> WARNING: vmlinux.o(.text+0x3084): Section mismatch in reference from the function start_kernel_secondary() to the function .init.text:setup_processor()
>> The function start_kernel_secondary() references
>> the function __init setup_processor().
>> This is often because start_kernel_secondary lacks a __init
>> annotation or the annotation of setup_processor is wrong.
>>
>>
>> Signed-off-by: Chen Gang <gang.chen@asianux.com>
>
> Applied for 3.13
>
Thanks.
--
Chen Gang
prev parent reply other threads:[~2013-10-29 1:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-23 2:12 [PATCH] arc: include: asm: remove '__init' for setup_processor() and arc_init_IRQ() Chen Gang
2013-10-28 13:56 ` Vineet Gupta
2013-10-29 1:11 ` Chen Gang [this message]
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=526F0B44.7040004@asianux.com \
--to=gang.chen@asianux.com \
--cc=arnd@arndb.de \
--cc=christian.ruppert@abilis.com \
--cc=linux-kernel@vger.kernel.org \
--cc=paul.gortmaker@windriver.com \
--cc=pierrick.hascoet@abilis.com \
--cc=vineetg76@gmail.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.