Re: [PATCH]vt.c, kernel 2.6.10 (also applies to 2.4.28 and 2.2.26).

From: emmanuel.colbus@xxxxxxxxxxxxxxx
Date: Tue Jan 04 2005 - 06:10:42 EST




Sorry, my attachements are not well readable.
This is the 2.6.10 patch :

--- old/drivers/char/vt.c 2004-12-24 22:35:25.000000000 +0100
+++ patched/drivers/char/vt.c 2005-01-04 10:37:46.000000000 +0100
@@ -1847,7 +1847,7 @@
csi_J(currcons, 2);
video_erase_char =
(video_erase_char & 0xff00) | ' ';
- do_update_region(currcons, origin,
screenbuf_size/2);
+ update_region(currcons, origin, screenbuf_size/2);
}
return;
case ESsetG0:



----------------------------------------
This is the 2.4.28 patch :

--- old/drivers/char/console.c 2005-01-03 15:51:22.000000000 +0100
+++ patched/drivers/char/console.c 2005-01-03 15:31:45.000000000
+0100
@@ -1781,7 +1781,7 @@
csi_J(currcons, 2);
video_erase_char =
(video_erase_char & 0xff00) | ' ';
- do_update_region(currcons, origin,
screenbuf_size/2);
+ update_region(currcons, origin, screenbuf_size/2);
}
return;
case ESsetG0:



----------------------------------------
This is the 2.2.26 patch :

--- old/drivers/char/console.c Mon Sep 16 18:26:11 2002
+++ patched/drivers/char/console.c Tue Jan 4 09:54:58 2005
@@ -1742,7 +1742,7 @@
csi_J(currcons, 2);
video_erase_char =
(video_erase_char & 0xff00) | ' ';
- do_update_region(currcons, origin,
screenbuf_size/2);
+ update_region(currcons, origin, screenbuf_size/2);
}
return;
case ESsetG0:




----------------------------------------
This is the README file the linux-kernel mailing list FAQ recommands :

DEC screen alignment test bug fix Emmanuel Colbus
<emmanuel.colbus@xxxxxxxxxxxxxxx>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/