Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4c1f59d8be7e5da75d9380da23671005b363c45c
Commit:     4c1f59d8be7e5da75d9380da23671005b363c45c
Parent:     c12ceb766eb5ac975c1145d51236fcdcf81a6578
Author:     Christian Volkmann <[EMAIL PROTECTED]>
AuthorDate: Mon May 21 14:31:48 2007 +0200
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Mon May 21 09:56:57 2007 -0700

    i386: Fix wrong CPU error message in early boot path
    
    - boot/setup.S did not print "PANIC: CPU too old for this kernel"
      ( not visible, also the message did not match )
    - I add "# missed before: set ds"
      => somebody should check if I am right with the way to set.
      => seems to be a generic error in setup.S not to set "ds" for error 
messages.
    
    AK: extracted patch out of other changes
    AK: also couldn't find any other case where ds is wrong
    Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 arch/i386/boot/setup.S |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/i386/boot/setup.S b/arch/i386/boot/setup.S
index f8b3b9c..6dbcc95 100644
--- a/arch/i386/boot/setup.S
+++ b/arch/i386/boot/setup.S
@@ -310,6 +310,8 @@ loader_ok:
        call verify_cpu
        testl  %eax,%eax
        jz      cpu_ok
+       movw    %cs,%ax         # aka SETUPSEG
+       movw    %ax,%ds
        lea     cpu_panic_mess,%si
        call    prtstr
 1:     jmp     1b
-
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  http://vger.kernel.org/majordomo-info.html

Reply via email to