--- drivers/tty/vt/vt.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c index b3915b7..8332004 100644 --- a/drivers/tty/vt/vt.c +++ b/drivers/tty/vt/vt.c @@ -3740,7 +3740,6 @@ void do_blank_screen(int entering_gfx) hide_cursor(vc); save_screen(vc); vc->vc_sw->con_blank(vc, -1, 1); - console_blanked = fg_console + 1; blank_state = blank_off; set_origin(vc); return; @@ -3752,7 +3751,6 @@ void do_blank_screen(int entering_gfx) /* don't blank graphics */ if (vc->vc_mode != KD_TEXT) { - console_blanked = fg_console + 1; return; } @@ -3795,7 +3793,7 @@ void do_unblank_screen(int leaving_gfx) WARN_CONSOLE_UNLOCKED(); ignore_poke = 0; - if (!console_blanked) + if (!console_blanked && !leaving_gfx) return; if (!vc_cons_allocated(fg_console)) { /* impossible */ -- 1.6.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html