diff options
Diffstat (limited to 'drivers/char/vt.c')
-rw-r--r-- | drivers/char/vt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/char/vt.c b/drivers/char/vt.c index e47a4c88976b..33214d92ca4c 100644 --- a/drivers/char/vt.c +++ b/drivers/char/vt.c | |||
@@ -252,7 +252,6 @@ static void notify_update(struct vc_data *vc) | |||
252 | struct vt_notifier_param param = { .vc = vc }; | 252 | struct vt_notifier_param param = { .vc = vc }; |
253 | atomic_notifier_call_chain(&vt_notifier_list, VT_UPDATE, ¶m); | 253 | atomic_notifier_call_chain(&vt_notifier_list, VT_UPDATE, ¶m); |
254 | } | 254 | } |
255 | |||
256 | /* | 255 | /* |
257 | * Low-Level Functions | 256 | * Low-Level Functions |
258 | */ | 257 | */ |
@@ -935,6 +934,7 @@ static int vc_do_resize(struct tty_struct *tty, struct vc_data *vc, | |||
935 | 934 | ||
936 | if (CON_IS_VISIBLE(vc)) | 935 | if (CON_IS_VISIBLE(vc)) |
937 | update_screen(vc); | 936 | update_screen(vc); |
937 | vt_event_post(VT_EVENT_RESIZE, vc->vc_num, vc->vc_num); | ||
938 | return err; | 938 | return err; |
939 | } | 939 | } |
940 | 940 | ||
@@ -3637,6 +3637,7 @@ void do_blank_screen(int entering_gfx) | |||
3637 | blank_state = blank_vesa_wait; | 3637 | blank_state = blank_vesa_wait; |
3638 | mod_timer(&console_timer, jiffies + vesa_off_interval); | 3638 | mod_timer(&console_timer, jiffies + vesa_off_interval); |
3639 | } | 3639 | } |
3640 | vt_event_post(VT_EVENT_BLANK, vc->vc_num, vc->vc_num); | ||
3640 | } | 3641 | } |
3641 | EXPORT_SYMBOL(do_blank_screen); | 3642 | EXPORT_SYMBOL(do_blank_screen); |
3642 | 3643 | ||
@@ -3681,6 +3682,7 @@ void do_unblank_screen(int leaving_gfx) | |||
3681 | console_blank_hook(0); | 3682 | console_blank_hook(0); |
3682 | set_palette(vc); | 3683 | set_palette(vc); |
3683 | set_cursor(vc); | 3684 | set_cursor(vc); |
3685 | vt_event_post(VT_EVENT_UNBLANK, vc->vc_num, vc->vc_num); | ||
3684 | } | 3686 | } |
3685 | EXPORT_SYMBOL(do_unblank_screen); | 3687 | EXPORT_SYMBOL(do_unblank_screen); |
3686 | 3688 | ||