hvc_console: Always schedule resize work on resize
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Tue, 18 Nov 2008 01:28:28 +0000 (01:28 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 3 Dec 2008 10:04:15 +0000 (21:04 +1100)
commit7947cf0dd4b6a2bb06c57971502fb81c76a66f2d
treef93a07a5718740d85731655bd5f529b7ac3b7b2b
parent3d26825ec03f623f20ba860e6e6113ab2d0bb0f1
hvc_console: Always schedule resize work on resize

The test to check for a new winsize runs out-of-sync with the
underlying tty.  After a tty has been released and initialized again,
the winsize might differ between the tty and the hp struct.  The
solution is to simply remove the check and always schedule the resize
work.

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/char/hvc_console.c