From eba726af5b6fc69e88a99ac3d3020ac90aa48234 Mon Sep 17 00:00:00 2001 From: Greg Haerr Date: Mon, 16 Sep 2024 17:50:32 -0600 Subject: [PATCH] More changes --- elks/init/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/elks/init/main.c b/elks/init/main.c index 1ede1bf1c..9e692eeb7 100644 --- a/elks/init/main.c +++ b/elks/init/main.c @@ -167,7 +167,6 @@ static void INITPROC kernel_init(void) /* set console from /bootopts console= or 0=default*/ set_console(boot_console); - console_init(); /* init direct, bios or headless console*/ #ifdef CONFIG_CHAR_DEV_RS @@ -184,12 +183,12 @@ static void INITPROC kernel_init(void) running_qemu = 1; #endif - device_init(); - #ifdef CONFIG_SOCKET sock_init(); #endif + device_init(); /* interrupts enabled here for possible disk I/O */ + #ifdef CONFIG_BOOTOPTS finalize_options(); if (!opts) printk("/bootopts not found or bad format/size\n");