All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Stefan Kuhne <stefan.kuhne@gmx.net>
Cc: xen-devel@lists.xensource.com
Subject: Re: Section mismatch with linux-3.4
Date: Tue, 3 Apr 2012 16:33:32 -0400	[thread overview]
Message-ID: <20120403203332.GA6132@phenom.dumpdata.com> (raw)
In-Reply-To: <4F7B4BEE.80205@access.denied>

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

      reply	other threads:[~2012-04-03 20:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-03 19:13 Section mismatch with linux-3.4 Stefan Kuhne
2012-04-03 20:33 ` Konrad Rzeszutek Wilk [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=20120403203332.GA6132@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=stefan.kuhne@gmx.net \
    --cc=xen-devel@lists.xensource.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.