]> git.baikalelectronics.ru Git - kernel.git/commit
tty vt: Fix a regression in command line edition
authorJean-François Moine <moinejf@free.fr>
Tue, 20 Nov 2012 16:35:41 +0000 (17:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Nov 2012 00:45:32 +0000 (16:45 -0800)
commitc04b153ae064443e3ffc7ebda11d2b69fa9c5260
tree6709bbeda624250b3057bba012388b3dc19e3ac0
parent4172e13022f15b22a5dcea7aefa59f604cb8fb1a
tty vt: Fix a regression in command line edition

The commit 0ca3f324181581032e9721b1b9e096b1d4cef4a5
("Fix line garbage in virtual console on command line edition")
made a regression with some machines: some characters were not erased
after line edition.

This patch adjusts the number of moved characters and the size of the
region to be updated.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Tested-by: Krzysztof Mazur <krzysiek@podlesie.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt.c