patch-2.1.44 linux/drivers/char/vc_screen.c

Next file: linux/drivers/isdn/avmb1/capiutil.c
Previous file: linux/drivers/char/tty_io.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.43/linux/drivers/char/vc_screen.c linux/drivers/char/vc_screen.c
@@ -237,6 +237,11 @@
 			func_scr_writew((func_scr_readw(org) & 0xff00) | c, org);
 		}
 	}
+#ifdef CONFIG_FB_CONSOLE
+	if (currcons == fg_console)
+		/* Horribly inefficient if count < screen size.  */
+		update_screen(currcons);
+#endif
 	written = buf - buf0;
 	file->f_pos += written;
 	RETURN( written );

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov