linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <Jeremy.Fitzhardinge@citrix.com>
To: Adrian Bunk <bunk@kernel.org>
Cc: jeremy@xensource.com, chrisw@sous-sol.org,
	xen-devel@lists.xensource.com, linux-kernel@vger.kernel.org,
	Jan Beulich <jbeulich@novell.com>
Subject: Re: [2.6 patch] xen: fiddle_vdso() must be __init
Date: Tue, 11 Dec 2007 15:12:33 -0800	[thread overview]
Message-ID: <475F1961.10309@citrix.com> (raw)
In-Reply-To: <20071211222119.GG14204@stusta.de>

Adrian Bunk wrote:
> This patch fixes the following section mismatch:
>
> <--  snip  -->
>
> ...
> WARNING: vmlinux.o(.text+0x2589): Section mismatch: reference to .init.data:vsyscall_int80_start (between 'fiddle_vdso' and 'xen_setup_features')
>   

Jan Beulich just posted a patch to do this, which I acked.

    J

> ...
>
> <--  snip  -->
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
>
> ---
> bd7d683674d639a57c73b316972a28df43690a17 
> diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c
> index f84e772..5e24f67 100644
> --- a/arch/x86/xen/setup.c
> +++ b/arch/x86/xen/setup.c
> @@ -59,7 +59,7 @@ static void xen_idle(void)
>  /*
>   * Set the bit indicating "nosegneg" library variants should be used.
>   */
> -static void fiddle_vdso(void)
> +static void __init fiddle_vdso(void)
>  {
>  	extern u32 VDSO_NOTE_MASK; /* See ../kernel/vsyscall-note.S.  */
>  	extern char vsyscall_int80_start;
>
>   


      reply	other threads:[~2007-12-11 23:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-11 22:21 [2.6 patch] xen: fiddle_vdso() must be __init Adrian Bunk
2007-12-11 23:12 ` Jeremy Fitzhardinge [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=475F1961.10309@citrix.com \
    --to=jeremy.fitzhardinge@citrix.com \
    --cc=bunk@kernel.org \
    --cc=chrisw@sous-sol.org \
    --cc=jbeulich@novell.com \
    --cc=jeremy@xensource.com \
    --cc=linux-kernel@vger.kernel.org \
    --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 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).