xen_start_kernel is __init, so startup_xen should be too
PATCH 1/1 xen_start_kernel is __init, so startup_xen should be too
This needs an update to modpost to prevent warning about the reference from .note* to the .init.text section.
Signed-off-by Jeremy Fitzhardinge <[email protected]>
Cc "Eric W. Biederman" <[email protected]>
Cc Sam Ravnborg <[email protected]>
--- arch/i386/xen/xen-head.S | 2 ++ 1 file changed, 2 insertions(+)
===================================================================
arch/i386/xen/xen-head.S +2 -0
@@ -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