diff options
-rw-r--r-- | drivers/char/vt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/char/vt.c b/drivers/char/vt.c index e5ef1dfc5482..d7aa7a29f67e 100644 --- a/drivers/char/vt.c +++ b/drivers/char/vt.c | |||
@@ -2867,6 +2867,10 @@ void unblank_screen(void) | |||
2867 | */ | 2867 | */ |
2868 | static void blank_screen_t(unsigned long dummy) | 2868 | static void blank_screen_t(unsigned long dummy) |
2869 | { | 2869 | { |
2870 | if (unlikely(!keventd_up())) { | ||
2871 | mod_timer(&console_timer, jiffies + blankinterval); | ||
2872 | return; | ||
2873 | } | ||
2870 | blank_timer_expired = 1; | 2874 | blank_timer_expired = 1; |
2871 | schedule_work(&console_work); | 2875 | schedule_work(&console_work); |
2872 | } | 2876 | } |