diff options
author | Andi Kleen <ak@suse.de> | 2007-07-22 07:21:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-22 14:17:17 -0400 |
commit | 0f760f13012322c81714812d852429fe23b16dcf (patch) | |
tree | 9308566bd13556acae6a21c7e4b97ff49c08320a /arch/i386/xen | |
parent | 5f3f7cc6ad3b548ba5f61051426df28f79fc0ee8 (diff) |
x86_64: Fix xen section warnings
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>
Diffstat (limited to 'arch/i386/xen')
-rw-r--r-- | arch/i386/xen/xen-head.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/xen/xen-head.S b/arch/i386/xen/xen-head.S index 2998d55a0017..bc71f3bc4014 100644 --- a/arch/i386/xen/xen-head.S +++ b/arch/i386/xen/xen-head.S | |||
@@ -7,6 +7,7 @@ | |||
7 | #include <asm/boot.h> | 7 | #include <asm/boot.h> |
8 | #include <xen/interface/elfnote.h> | 8 | #include <xen/interface/elfnote.h> |
9 | 9 | ||
10 | .section .init.text | ||
10 | ENTRY(startup_xen) | 11 | ENTRY(startup_xen) |
11 | movl %esi,xen_start_info | 12 | movl %esi,xen_start_info |
12 | cld | 13 | cld |
@@ -19,6 +20,7 @@ ENTRY(hypercall_page) | |||
19 | .skip 0x1000 | 20 | .skip 0x1000 |
20 | .popsection | 21 | .popsection |
21 | 22 | ||
23 | .section .text | ||
22 | ELFNOTE(Xen, XEN_ELFNOTE_GUEST_OS, .asciz "linux") | 24 | ELFNOTE(Xen, XEN_ELFNOTE_GUEST_OS, .asciz "linux") |
23 | ELFNOTE(Xen, XEN_ELFNOTE_GUEST_VERSION, .asciz "2.6") | 25 | ELFNOTE(Xen, XEN_ELFNOTE_GUEST_VERSION, .asciz "2.6") |
24 | ELFNOTE(Xen, XEN_ELFNOTE_XEN_VERSION, .asciz "xen-3.0") | 26 | ELFNOTE(Xen, XEN_ELFNOTE_XEN_VERSION, .asciz "xen-3.0") |