summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlmuHS <almuhs@github.com>2019-05-01 18:24:40 +0200
committerAlmuHS <almuhs@github.com>2019-05-01 18:24:40 +0200
commitdf66d85086d97a34b58edc7178c70da845047398 (patch)
tree7db244ec9b441d57268009ba4540596d588d2dce
parent0463e90c0bb8236247209e26b39bfce49c0dd047 (diff)
format: cleaned code
-rw-r--r--i386/i386/mp_desc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c
index b69b557f..7117a96f 100644
--- a/i386/i386/mp_desc.c
+++ b/i386/i386/mp_desc.c
@@ -547,17 +547,15 @@ start_other_cpus(void)
{
if (cpu != cpu_number())
{
-
- //*stack_ptr = (void*) kalloc(STACK_SIZE);
-
//Initialize cpu stack
cpu_stack[cpu] = stack_start;
_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);
+
stack_start += STACK_SIZE;
}
}