[PATCH 1/1] x86: Add config option to setup early serial console

From: Mike Travis
Date: Thu Jun 12 2008 - 18:36:23 EST


* Add config option EARLY_SERIAL_CONSOLE to enable early
printk's to be directed to the serial console.

Based on linux-next

Signed-off-by: Mike Travis <travis@xxxxxxx>
---

---
arch/x86/kernel/early_printk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.tip.orig/arch/x86/kernel/early_printk.c
+++ linux-2.6.tip/arch/x86/kernel/early_printk.c
@@ -193,7 +193,7 @@ static struct console simnow_console = {
};

/* Direct interface for emergencies */
-static struct console *early_console = &early_vga_console;
+static struct console *early_console = &early_serial_console;
static int early_console_initialized;

void early_printk(const char *fmt, ...)

--

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/