* [PATCH] i386: fix a few paravirt-related modpost warnings
@ 2007-12-10 16:38 Jan Beulich
2007-12-11 0:34 ` Jeremy Fitzhardinge
0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2007-12-10 16:38 UTC (permalink / raw)
To: mingo; +Cc: linux-kernel
Signed-off-by: Jan Beulich <jbeulich@novell.com>
arch/x86/kernel/head_32.S | 2 +-
arch/x86/xen/setup.c | 2 +-
arch/x86/xen/xen-head.S | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
--- linux-2.6.24-rc4/arch/x86/kernel/head_32.S 2007-12-07 09:00:59.000000000 +0100
+++ 2.6.24-rc4-i386-lguest-warning/arch/x86/kernel/head_32.S 2007-12-05 18:30:33.000000000 +0100
@@ -151,7 +151,7 @@ WEAK(xen_entry)
/* Unknown implementation; there's really
nothing we can do at this point. */
ud2a
-.data
+.section .init.data, "aw"
subarch_entries:
.long default_entry /* normal x86/PC */
.long lguest_entry /* lguest hypervisor */
--- linux-2.6.24-rc4/arch/x86/xen/setup.c 2007-12-07 09:01:00.000000000 +0100
+++ 2.6.24-rc4-i386-lguest-warning/arch/x86/xen/setup.c 2007-12-10 17:31:06.000000000 +0100
@@ -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 __init void fiddle_vdso(void)
{
extern u32 VDSO_NOTE_MASK; /* See ../kernel/vsyscall-note.S. */
extern char vsyscall_int80_start;
--- linux-2.6.24-rc4/arch/x86/xen/xen-head.S 2007-12-07 09:01:00.000000000 +0100
+++ 2.6.24-rc4-i386-lguest-warning/arch/x86/xen/xen-head.S 2007-12-10 17:25:46.000000000 +0100
@@ -7,7 +7,7 @@
#include <asm/boot.h>
#include <xen/interface/elfnote.h>
-.pushsection .init.text
+.pushsection .init.text, "ax"
ENTRY(startup_xen)
movl %esi,xen_start_info
cld
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] i386: fix a few paravirt-related modpost warnings
2007-12-10 16:38 [PATCH] i386: fix a few paravirt-related modpost warnings Jan Beulich
@ 2007-12-11 0:34 ` Jeremy Fitzhardinge
0 siblings, 0 replies; 2+ messages in thread
From: Jeremy Fitzhardinge @ 2007-12-11 0:34 UTC (permalink / raw)
To: Jan Beulich; +Cc: mingo, linux-kernel
Jan Beulich wrote:
> Signed-off-by: Jan Beulich <jbeulich@novell.com>
>
Acked-by: Jeremy Fitzhardinge <Jeremy.Fitzhardinge@citrix.com>
> arch/x86/kernel/head_32.S | 2 +-
> arch/x86/xen/setup.c | 2 +-
> arch/x86/xen/xen-head.S | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> --- linux-2.6.24-rc4/arch/x86/kernel/head_32.S 2007-12-07 09:00:59.000000000 +0100
> +++ 2.6.24-rc4-i386-lguest-warning/arch/x86/kernel/head_32.S 2007-12-05 18:30:33.000000000 +0100
> @@ -151,7 +151,7 @@ WEAK(xen_entry)
> /* Unknown implementation; there's really
> nothing we can do at this point. */
> ud2a
> -.data
> +.section .init.data, "aw"
> subarch_entries:
> .long default_entry /* normal x86/PC */
> .long lguest_entry /* lguest hypervisor */
> --- linux-2.6.24-rc4/arch/x86/xen/setup.c 2007-12-07 09:01:00.000000000 +0100
> +++ 2.6.24-rc4-i386-lguest-warning/arch/x86/xen/setup.c 2007-12-10 17:31:06.000000000 +0100
> @@ -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 __init void fiddle_vdso(void)
> {
> extern u32 VDSO_NOTE_MASK; /* See ../kernel/vsyscall-note.S. */
> extern char vsyscall_int80_start;
> --- linux-2.6.24-rc4/arch/x86/xen/xen-head.S 2007-12-07 09:01:00.000000000 +0100
> +++ 2.6.24-rc4-i386-lguest-warning/arch/x86/xen/xen-head.S 2007-12-10 17:25:46.000000000 +0100
> @@ -7,7 +7,7 @@
> #include <asm/boot.h>
> #include <xen/interface/elfnote.h>
>
> -.pushsection .init.text
> +.pushsection .init.text, "ax"
> ENTRY(startup_xen)
> movl %esi,xen_start_info
> cld
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-11 0:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-10 16:38 [PATCH] i386: fix a few paravirt-related modpost warnings Jan Beulich
2007-12-11 0:34 ` Jeremy Fitzhardinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox