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

From: Jeremy Fitzhardinge
Date: Tue May 29 2007 - 16:34:59 EST


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@xxxxxxxxxxxxx>
Cc: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>
Cc: Sam Ravnborg <sam@xxxxxxxxxxxx>

---
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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/