Title: [7176] branches/2009R1/drivers/serial/bfin_5xx.c: bug[#5420] Only clear console flag when it exists.
- Revision
- 7176
- Author
- sonicz
- Date
- 2009-08-13 01:23:31 -0400 (Thu, 13 Aug 2009)
Log Message
bug[#5420] Only clear console flag when it exists.
Modified Paths
Diff
Modified: branches/2009R1/drivers/serial/bfin_5xx.c (7175 => 7176)
--- branches/2009R1/drivers/serial/bfin_5xx.c 2009-08-13 05:05:32 UTC (rev 7175)
+++ branches/2009R1/drivers/serial/bfin_5xx.c 2009-08-13 05:23:31 UTC (rev 7176)
@@ -1323,11 +1323,13 @@
struct bfin_serial_port *uart;
struct ktermios t;
+#ifdef CONFIG_SERIAL_BFIN_CONSOLE
/*
* 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;
+#endif
if (port == -1 || port >= nr_active_ports)
port = 0;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits