summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlmuHS <almuhs@github.com>2019-06-26 17:09:43 +0200
committerAlmuHS <almuhs@github.com>2019-06-26 17:09:43 +0200
commit3e0099cf424302a9d37051c9579bbe6ba6b0aaaf (patch)
treed9cffc856685b0daf7cd24b530082ecc413c9343
parent860c89424044bc1059984fa8089774f78a242e3b (diff)
debug fix: replace true to 1
-rw-r--r--kern/startup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/startup.c b/kern/startup.c
index b1791fcb..d87d7c9e 100644
--- a/kern/startup.c
+++ b/kern/startup.c
@@ -183,7 +183,6 @@ void setup_main(void)
(void) thread_create(kernel_task, &startup_thread);
thread_start(startup_thread, start_kernel_threads);
- while(1);
/*
* Give it a kernel stack.
@@ -247,6 +246,7 @@ void start_kernel_threads(void)
*/
start_other_cpus();
+ while(1);
#endif /* NCPUS > 1 */
/*