The patch titled
     serial-convert-early_uart-to-earlycon-for-8250 fix
has been added to the -mm tree.  Its filename is
     serial-convert-early_uart-to-earlycon-for-8250-fix.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: serial-convert-early_uart-to-earlycon-for-8250 fix
From: Yinghai Lu <[EMAIL PROTECTED]>

please use this one instead. it fixs ia64 compilation.

Signed-off-by: <[EMAIL PROTECTED]>
Cc: Andi Kleen <[EMAIL PROTECTED]>
Cc: Bjorn Helgaas <[EMAIL PROTECTED]>
Cc: Russell King <[EMAIL PROTECTED]>
Cc: Gerd Hoffmann <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/firmware/pcdp.c     |    5 +++--
 drivers/serial/8250_early.c |    2 +-
 include/linux/serial_8250.h |    1 +
 3 files changed, 5 insertions(+), 3 deletions(-)

diff -puN 
drivers/firmware/pcdp.c~serial-convert-early_uart-to-earlycon-for-8250-fix 
drivers/firmware/pcdp.c
--- a/drivers/firmware/pcdp.c~serial-convert-early_uart-to-earlycon-for-8250-fix
+++ a/drivers/firmware/pcdp.c
@@ -15,6 +15,7 @@
 #include <linux/console.h>
 #include <linux/efi.h>
 #include <linux/serial.h>
+#include <linux/serial_8250.h>
 #include <asm/vga.h>
 #include "pcdp.h"
 
@@ -27,7 +28,7 @@ setup_serial_console(struct pcdp_uart *u
        char parity;
 
        mmio = (uart->addr.space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY);
-       p += sprintf(p, "console=uart,%s,0x%lx",
+       p += sprintf(p, "uart8250,%s,0x%lx",
                mmio ? "mmio" : "io", uart->addr.address);
        if (uart->baud) {
                p += sprintf(p, ",%lu", uart->baud);
@@ -41,7 +42,7 @@ setup_serial_console(struct pcdp_uart *u
                }
        }
 
-       return early_serial_console_init(options);
+       return setup_early_serial8250_console(options);
 #else
        return -ENODEV;
 #endif
diff -puN 
drivers/serial/8250_early.c~serial-convert-early_uart-to-earlycon-for-8250-fix 
drivers/serial/8250_early.c
--- 
a/drivers/serial/8250_early.c~serial-convert-early_uart-to-earlycon-for-8250-fix
+++ a/drivers/serial/8250_early.c
@@ -204,7 +204,7 @@ static int __init early_serial8250_setup
        return 0;
 }
 
-static int __init setup_early_serial8250_console(char *cmdline)
+int __init setup_early_serial8250_console(char *cmdline)
 {
        char *options;
        int err;
diff -puN 
include/linux/serial_8250.h~serial-convert-early_uart-to-earlycon-for-8250-fix 
include/linux/serial_8250.h
--- 
a/include/linux/serial_8250.h~serial-convert-early_uart-to-earlycon-for-8250-fix
+++ a/include/linux/serial_8250.h
@@ -62,5 +62,6 @@ void serial8250_resume_port(int line);
 
 extern int serial8250_find_port(struct uart_port *p);
 extern int serial8250_find_port_for_earlycon(void);
+extern int setup_early_serial8250_console(char *cmdline);
 
 #endif
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

console-more-buf-for-index-parsing.patch
console-console-handover-to-preferred-console.patch
serial-convert-early_uart-to-earlycon-for-8250.patch
serial-convert-early_uart-to-earlycon-for-8250-fix.patch
serial-assert-dtr-for-serial-console-devices.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to