summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/x86/lapic/secondary.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/x86/lapic/secondary.S b/src/cpu/x86/lapic/secondary.S
index 67e44c46df..2ad70296ea 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