From 3e0099cf424302a9d37051c9579bbe6ba6b0aaaf Mon Sep 17 00:00:00 2001 From: AlmuHS Date: Wed, 26 Jun 2019 17:09:43 +0200 Subject: debug fix: replace true to 1 --- kern/startup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ /* -- cgit v1.2.3