Commit:     0852ec8cc1ac108344a219dfcab4043f407ddd9a
Parent:     abd96ecb298675a21c412a29f5de2f80174d5f18
Author:     Mathieu Desnoyers <[EMAIL PROTECTED]>
AuthorDate: Wed Aug 22 14:01:59 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Aug 22 19:52:47 2007 -0700

    Xen i386 xen-head.S fix sections mixup
    Xen i386 xen-head.S fix sections mixup
    xen-head.S does not come back to the data section, leaving the text section
    as current section. It causes problems with a slightly enhanced DEBUG_RODATA
    that supports CONFIG_HOTPLUG and bringing a CPU up after the text has been
    marked read-only: reference to early_gdt_descr causes a page fault.
    - It should be using pushsection/popsection.
    - Actually, the push/popsections around the ELFNOTEs are redundant; 
      does its own push/popsection to put things into the appropriate .note* 
    Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
    Acked-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]>
    Cc: Chris Wright <[EMAIL PROTECTED]>
    Cc: Andi Kleen <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 arch/i386/xen/xen-head.S |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/i386/xen/xen-head.S b/arch/i386/xen/xen-head.S
index bc71f3b..f8d6937 100644
--- a/arch/i386/xen/xen-head.S
+++ b/arch/i386/xen/xen-head.S
@@ -7,20 +7,20 @@
 #include <asm/boot.h>
 #include <xen/interface/elfnote.h>
-       .section .init.text
+.pushsection .init.text
        movl %esi,xen_start_info
        movl $(init_thread_union+THREAD_SIZE),%esp
        jmp xen_start_kernel
-.pushsection ".bss.page_aligned"
+.pushsection .bss.page_aligned
        .align PAGE_SIZE_asm
        .skip 0x1000
-       .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")
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to