* [2.6 patch] xen: fiddle_vdso() must be __init
@ 2007-12-11 22:21 Adrian Bunk
2007-12-11 23:12 ` Jeremy Fitzhardinge
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-12-11 22:21 UTC (permalink / raw)
To: jeremy, chrisw; +Cc: xen-devel, linux-kernel
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')
...
<-- 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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [2.6 patch] xen: fiddle_vdso() must be __init
2007-12-11 22:21 [2.6 patch] xen: fiddle_vdso() must be __init Adrian Bunk
@ 2007-12-11 23:12 ` Jeremy Fitzhardinge
0 siblings, 0 replies; 2+ messages in thread
From: Jeremy Fitzhardinge @ 2007-12-11 23:12 UTC (permalink / raw)
To: Adrian Bunk; +Cc: jeremy, chrisw, xen-devel, linux-kernel, Jan Beulich
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;
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-11 23:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-11 22:21 [2.6 patch] xen: fiddle_vdso() must be __init Adrian Bunk
2007-12-11 23:12 ` Jeremy Fitzhardinge
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).