[PATCH] xen_start_kernel is __init, so startup_xen should be too

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andi Kleen <ak@...>
Cc: Andrew Morton <akpm@...>, Sam Ravnborg <sam@...>, Eric W. Biederman <ebiederm@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Tuesday, May 29, 2007 - 4:34 pm

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


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] xen_start_kernel is __init, so startup_xen should be..., Jeremy Fitzhardinge, (Tue May 29, 4:34 pm)