]> 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)
commit2e32f71ac8af34b55904fc93de5a42e72a27f4b2
tree6709bbeda624250b3057bba012388b3dc19e3ac0
parent86df70fce2e3175bd28874c3918f08d04ad5c3bd
tty vt: Fix a regression in command line edition

The commit 65889cdf5a5abb180ddd04de11c3d82c6f5643c4
("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