commit | 5f2679055d5f58db9548efe5545fac256d1c7d4d | [log] [tgz] |
---|---|---|
author | Graeme Russ <graeme.russ@gmail.com> | Thu Oct 07 20:03:28 2010 +1100 |
committer | Graeme Russ <graeme.russ@gmail.com> | Thu Oct 07 20:03:28 2010 +1100 |
tree | 13e09065ce1750ea593a5185c299ae9688b05b68 | |
parent | 88fa0a6eb906b532cd073b6e3d8f688c47404709 [diff] [blame] |
x86: Don't clobber %ebx %ebx will hold low-level boot flags and must be preserved
diff --git a/arch/i386/cpu/start.S b/arch/i386/cpu/start.S index 551965f..63f7334 100644 --- a/arch/i386/cpu/start.S +++ b/arch/i386/cpu/start.S
@@ -118,8 +118,8 @@ cmpl $0, %eax jne die push $0x55aa55aa - popl %ebx - cmpl $0x55aa55aa, %ebx + popl %ecx + cmpl $0x55aa55aa, %ecx jne die wbinvd