[PATCH] fix MTIME_SEC_MAX on 32-bit
[powerpc.git] / arch / um / drivers / stdio_console.c
index 8dccdd1..76d1f1c 100644 (file)
@@ -69,6 +69,7 @@ static struct line_driver driver = {
        .write_irq              = CONSOLE_WRITE_IRQ,
        .write_irq_name         = "console-write",
        .mc  = {
+               .list           = LIST_HEAD_INIT(driver.mc.list),
                .name           = "con",
                .config         = con_config,
                .get_config     = con_get_config,
@@ -152,7 +153,7 @@ static struct console stdiocons = {
        .write          = uml_console_write,
        .device         = uml_console_device,
        .setup          = uml_console_setup,
-       .flags          = CON_PRINTBUFFER,
+       .flags          = CON_PRINTBUFFER|CON_ANYTIME,
        .index          = -1,
 };