Title: [7172] branches/2009R1/drivers/serial/bfin_5xx.c: Bug[#5420] don't set CON_PRINTBUFFER for bfin serial console
- Revision
- 7172
- Author
- sonicz
- Date
- 2009-08-12 23:05:10 -0400 (Wed, 12 Aug 2009)
Log Message
Bug[#5420] don't set CON_PRINTBUFFER for bfin serial console
to avoid double line kernel boot information in bfin serial console.
Modified Paths
Diff
Modified: branches/2009R1/drivers/serial/bfin_5xx.c (7171 => 7172)
--- branches/2009R1/drivers/serial/bfin_5xx.c 2009-08-13 01:23:33 UTC (rev 7171)
+++ branches/2009R1/drivers/serial/bfin_5xx.c 2009-08-13 03:05:10 UTC (rev 7172)
@@ -1323,6 +1323,12 @@
struct bfin_serial_port *uart;
struct ktermios t;
+ /*
+ * If we are using early serial, don't let the normal console rewind
+ * log buffer, since that causes things to be printed multiple times
+ */
+ bfin_serial_console.flags &= ~CON_PRINTBUFFER;
+
if (port == -1 || port >= nr_active_ports)
port = 0;
bfin_serial_init_ports();
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits