diff options
author | Nicolas Pitre | 2019-01-09 04:54:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2019-01-18 13:42:58 +0100 |
commit | 6609cff65c5b184ab889880ef5d41189611ea05f (patch) | |
tree | f28f5f5acce74bbe56e448b7ac378b15d09eebf7 /usr | |
parent | tty/n_hdlc: fix __might_sleep warning (diff) | |
download | kernel-qcow2-linux-6609cff65c5b184ab889880ef5d41189611ea05f.tar.gz kernel-qcow2-linux-6609cff65c5b184ab889880ef5d41189611ea05f.tar.xz kernel-qcow2-linux-6609cff65c5b184ab889880ef5d41189611ea05f.zip |
vt: make vt_console_print() compatible with the unicode screen buffer
When kernel messages are printed to the console, they appear blank on
the unicode screen. This is because vt_console_print() is lacking a call
to vc_uniscr_putc(). However the later function assumes vc->vc_x is
always up to date when called, which is not the case here as
vt_console_print() uses it to mark the beginning of the display update.
This patch reworks (and simplifies) vt_console_print() so that vc->vc_x
is always valid and keeps the start of display update in a local variable
instead, which finally allows for adding the missing vc_uniscr_putc()
call.
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Cc: stable@vger.kernel.org # v4.19+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions