summaryrefslogtreecommitdiff
path: root/kern/startup.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/startup.c')
-rw-r--r--kern/startup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kern/startup.c b/kern/startup.c
index e75be5b9..337904ae 100644
--- a/kern/startup.c
+++ b/kern/startup.c
@@ -245,8 +245,7 @@ void start_kernel_threads(void)
* Allow other CPUs to run.
*/
- start_other_cpus();
- //while(1);
+ if(ncpu > 1) start_other_cpus();
#endif /* NCPUS > 1 */
/*