From 4f74de0edc243ffdae0233eb5c84d09c44677ccf Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 27 Sep 2007 20:32:45 +0000 Subject: okay, that was long enough - revert --- main.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 0f1acc8..464112b 100644 --- a/main.c +++ b/main.c @@ -42,14 +42,12 @@ main(void) userinit(); // first user process // Allocate scheduler stacks and boot the other CPUs. - for(i=0; istack + KSTACKTOP; + *(void**)(code-4) = c->stack + KSTACKSIZE; *(void**)(code-8) = mpmain; lapic_startap(c->apicid, (uint)code); -- cgit v1.2.3