x86_64: Fix xen section warnings
authorAndi Kleen <ak@suse.de>
Sun, 22 Jul 2007 11:21:42 +0000 (13:21 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 18:17:17 +0000 (11:17 -0700)
Fix

WARNING: vmlinux.o(.data+0x99): Section mismatch: reference to .init.text:xen_start_kernel (between 'startup_xen' and 'boot_gdt_descr')

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/xen/xen-head.S

index 2998d55a001790b96196b04dabd3718067bc9629..bc71f3bc40141019214201586ed292b743f81dc3 100644 (file)
@@ -7,6 +7,7 @@
 #include <asm/boot.h>
 #include <xen/interface/elfnote.h>
 
+       .section .init.text
 ENTRY(startup_xen)
        movl %esi,xen_start_info
        cld
@@ -19,6 +20,7 @@ ENTRY(hypercall_page)
        .skip 0x1000
 .popsection
 
+       .section .text
        ELFNOTE(Xen, XEN_ELFNOTE_GUEST_OS,       .asciz "linux")
        ELFNOTE(Xen, XEN_ELFNOTE_GUEST_VERSION,  .asciz "2.6")
        ELFNOTE(Xen, XEN_ELFNOTE_XEN_VERSION,    .asciz "xen-3.0")