commit | bcf0038781e09647bb13faa21758a5c93549e47a | [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 | 157b0e994c3ae4cca1cd70b026c4c09d3885f14e [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