diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/init_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index e748293..f1d0bf1 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -91,7 +91,6 @@ main(void) memset(&proc0, 0, sizeof(proc0.tf)); fork1(&proc0, 0, start_init, NULL); - /* Nothing left to do... halt */ - cpu_reboot(REBOOT_HALT); + sched_enter(); __builtin_unreachable(); } |