patch-2.1.107 linux/drivers/char/vt.c

Next file: linux/drivers/char/wdt.c
Previous file: linux/drivers/char/vga.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.106/linux/drivers/char/vt.c linux/drivers/char/vt.c
@@ -416,7 +416,11 @@
 			if (i)
 				return i;
 			i = con_adjust_height(cfdarg.charheight);
-			return (i <= 0) ? i : kd_size_changed(i, 0);
+			/*
+			 *  ++Geert: vc_resize_con() will take note of the
+			 *	     changed screen size, if necessary
+			 */
+			return (i <= 0) ? i : 0;
 		} else
 			return -EINVAL;
 	case GIO_FONTX:
@@ -1013,7 +1017,10 @@
 		if (i) return i;
 
 		i = con_adjust_height(default_font_height);
-		if ( i > 0 ) kd_size_changed(i, 0);
+			/*
+			 *  ++Geert: vc_resize_con() will take note of the
+			 *	     changed screen size, if necessary
+			 */
 		con_set_default_unimap();
 
 		return 0;

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