summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlmuHS <almuhs@github.com>2019-04-30 00:56:18 +0200
committerAlmuHS <almuhs@github.com>2019-04-30 00:56:18 +0200
commitc477c087e6888b148143e94fc9fde67c1c76bbde (patch)
tree23d1646f357645e23c1dc574967289d710cef89a
parentfc65d68bd1a0ff723eac65ab821d8c7812ba3cf4 (diff)
little fix
-rw-r--r--i386/i386/mp_desc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c
index f3dea0c4..6b197f6d 100644
--- a/i386/i386/mp_desc.c
+++ b/i386/i386/mp_desc.c
@@ -554,7 +554,7 @@ start_other_cpus(void)
cpu_stack[cpu] = (void*) kalloc(STACK_SIZE);
_cpu_stack_top[cpu] = stack_start + STACK_SIZE;
- stack_ptr = cpu_stack[cpu];
+ stack_ptr = &cpu_stack[cpu];
machine_slot[cpu].running = FALSE;
cpu_start(cpu);