public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xen_start_kernel is __init, so startup_xen should be too
@ 2007-05-29 20:34 Jeremy Fitzhardinge
  0 siblings, 0 replies; only message in thread
From: Jeremy Fitzhardinge @ 2007-05-29 20:34 UTC (permalink / raw)
  To: Andi Kleen
  Cc: Andrew Morton, Sam Ravnborg, Eric W. Biederman,
	Linux Kernel Mailing List

This needs an update to modpost to prevent warning about the reference from
.note* to the .init.text section.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com> 
Cc: Sam Ravnborg <sam@ravnborg.org>

---
 arch/i386/xen/xen-head.S |    2 ++
 1 file changed, 2 insertions(+)

===================================================================
--- a/arch/i386/xen/xen-head.S
+++ b/arch/i386/xen/xen-head.S
@@ -7,11 +7,13 @@
 #include <asm/boot.h>
 #include <xen/interface/elfnote.h>
 
+.pushsection .init.text,"ax",@progbits
 ENTRY(startup_xen)
 	movl %esi,xen_start_info
 	cld
  	movl $(init_thread_union+THREAD_SIZE),%esp
 	jmp xen_start_kernel
+.popsection
 
 .pushsection ".bss.page_aligned"
 	.align PAGE_SIZE_asm



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-29 20:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-29 20:34 [PATCH] xen_start_kernel is __init, so startup_xen should be too Jeremy Fitzhardinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox