Kyösti Mälkki ([email protected]) just uploaded a new patch set to 
gerrit, which you can find at http://review.coreboot.org/1173

-gerrit

commit 43c9618eaf9e9c0455020040c47eb4cf74e93329
Author: Kyösti Mälkki <[email protected]>
Date:   Thu Jul 5 06:30:29 2012 +0300

    Fix the CPU index parameter passed to secondary_cpu_init().
    
    Count 0,1,2,3,... instead of 0,2,3,4,...
    
    Change-Id: I3c6b85e5e71b32deac5470809e1618d28f19c00f
    Signed-off-by: Kyösti Mälkki <[email protected]>
---
 src/cpu/x86/lapic/secondary.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/cpu/x86/lapic/secondary.S b/src/cpu/x86/lapic/secondary.S
index 67e44c4..2ad7029 100644
--- a/src/cpu/x86/lapic/secondary.S
+++ b/src/cpu/x86/lapic/secondary.S
@@ -41,8 +41,8 @@ _secondary_start:
        /* increment our cpu index */
        movl    $1, %eax
        lock    xadd %eax, cpucount
-       incl    %eax
        movl    %eax, %ecx
+       incl    %eax
 
        /* assign stack for this specific cpu */
        mov     _stack, %esp

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to