summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/x86/machine/boot.c2
-rw-r--r--kern/kernel.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/machine/boot.c b/arch/x86/machine/boot.c
index 5f27d903..59f0d67e 100644
--- a/arch/x86/machine/boot.c
+++ b/arch/x86/machine/boot.c
@@ -58,7 +58,6 @@
#include <kern/panic.h>
#include <kern/param.h>
#include <kern/percpu.h>
-#include <kern/shell.h>
#include <kern/sleepq.h>
#include <kern/sref.h>
#include <kern/syscnt.h>
@@ -494,7 +493,6 @@ boot_main(void)
atcons_bootstrap();
uart_bootstrap();
printf_setup();
- shell_setup();
uart_info();
pmap_bootstrap();
sref_bootstrap();
diff --git a/kern/kernel.c b/kern/kernel.c
index f41956e8..f079f9a2 100644
--- a/kern/kernel.c
+++ b/kern/kernel.c
@@ -21,6 +21,7 @@
#include <kern/llsync.h>
#include <kern/log.h>
#include <kern/percpu.h>
+#include <kern/shell.h>
#include <kern/sleepq.h>
#include <kern/sref.h>
#include <kern/task.h>
@@ -41,6 +42,7 @@ kernel_main(void)
assert(!cpu_intr_enabled());
percpu_cleanup();
+ shell_setup();
cpumap_setup();
xcall_setup();
task_setup();