- serial-convert-early_uart-to-earlycon-for-8250-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

This patch was dropped because it was folded into serial-convert-early_uart-to-earlycon-for-8250.patch

------------------------------------------------------
Subject: serial-convert-early_uart-to-earlycon-for-8250 fix
From: Yinghai Lu <Yinghai.Lu@xxxxxxx>

Please use this one instead. it add _init to update_console_cmdline, and
serial8250_find_port_for_earlycon. and CON_BOOT to flag of early_serial8250_console

Signed-off-by: <yinghai.lu@xxxxxxx>
Cc: Andi Kleen <ak@xxxxxxx>
Cc: Russell King <rmk@xxxxxxxxxxxxxxxx>
Cc: Bjorn Helgaas <bjorn.helgaas@xxxxxx>
Cc: Gerd Hoffmann <kraxel@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/serial/8250_early.c |    5 ++---
 kernel/printk.c             |    2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

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
@@ -170,7 +170,7 @@ static int __init parse_options(struct e
 static struct console early_serial8250_console __initdata = {
 	.name	= "uart",
 	.write	= early_serial8250_write,
-	.flags	= CON_PRINTBUFFER,
+	.flags	= CON_PRINTBUFFER | CON_BOOT,
 	.index	= -1,
 };
 
@@ -202,13 +202,12 @@ static int __init setup_early_serial8250
 	if ((err = early_serial8250_setup(options)) < 0)
 		return err;
 
-	early_serial8250_console.flags |= CON_BOOT;
 	register_console(&early_serial8250_console);
 
 	return 0;
 }
 
-int serial8250_find_port_for_earlycon(void)
+int __init serial8250_find_port_for_earlycon(void)
 {
 	struct early_serial8250_device *device = &early_device;
 	struct uart_port *port = &device->port;
diff -puN kernel/printk.c~serial-convert-early_uart-to-earlycon-for-8250-fix kernel/printk.c
--- a/kernel/printk.c~serial-convert-early_uart-to-earlycon-for-8250-fix
+++ a/kernel/printk.c
@@ -726,7 +726,7 @@ int __init add_preferred_console(char *n
 	return 0;
 }
 
-int update_console_cmdline(char *name, int idx, char *name_new, int idx_new, char *options)
+int __init update_console_cmdline(char *name, int idx, char *name_new, int idx_new, char *options)
 {
 	struct console_cmdline *c;
 	int i;
_

Patches currently in -mm which might be from Yinghai.Lu@xxxxxxx 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-set-dtr-in-uart-for-kernel-serial-console.patch

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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux