* Section mismatch with linux-3.4
@ 2012-04-03 19:13 Stefan Kuhne
2012-04-03 20:33 ` Konrad Rzeszutek Wilk
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Kuhne @ 2012-04-03 19:13 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 529 bytes --]
Hello,
when I try to compile linux-3.4-rc1 I get:
WARNING: arch/x86/built-in.o(.text+0x1745): Section mismatch in
reference from the function xen_align_and_add_e820_region() to the
function .init.text:e820_add_region()
The function xen_align_and_add_e820_region() references
the function __init e820_add_region().
This is often because xen_align_and_add_e820_region lacks a __init
annotation or the annotation of e820_add_region is wrong.
How can I solve this or is this not nesesary?
Regards,
Stefan Kuhne
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 552 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Section mismatch with linux-3.4
2012-04-03 19:13 Section mismatch with linux-3.4 Stefan Kuhne
@ 2012-04-03 20:33 ` Konrad Rzeszutek Wilk
0 siblings, 0 replies; 2+ messages in thread
From: Konrad Rzeszutek Wilk @ 2012-04-03 20:33 UTC (permalink / raw)
To: Stefan Kuhne; +Cc: xen-devel
On Tue, Apr 03, 2012 at 09:13:50PM +0200, Stefan Kuhne wrote:
> Hello,
>
> when I try to compile linux-3.4-rc1 I get:
>
> WARNING: arch/x86/built-in.o(.text+0x1745): Section mismatch in
> reference from the function xen_align_and_add_e820_region() to the
> function .init.text:e820_add_region()
> The function xen_align_and_add_e820_region() references
> the function __init e820_add_region().
> This is often because xen_align_and_add_e820_region lacks a __init
> annotation or the annotation of e820_add_region is wrong.
A patch to add '__init' to the xen_align_and_add_e820_region should do it!
Please also attach you SOB to it. Thanks!
>
> How can I solve this or is this not nesesary?
it will save a couple of bytes (as the _init sections get all removed
at a certain stage in the bootup process).
>
> Regards,
> Stefan Kuhne
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-03 20:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-03 19:13 Section mismatch with linux-3.4 Stefan Kuhne
2012-04-03 20:33 ` Konrad Rzeszutek Wilk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).