diff options
Diffstat (limited to 'drivers/char/vt.c')
-rw-r--r-- | drivers/char/vt.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/drivers/char/vt.c b/drivers/char/vt.c index 0fca83ededff..b49f03375439 100644 --- a/drivers/char/vt.c +++ b/drivers/char/vt.c | |||
@@ -885,8 +885,17 @@ int vc_resize(struct vc_data *vc, unsigned int cols, unsigned int lines) | |||
885 | return err; | 885 | return err; |
886 | } | 886 | } |
887 | 887 | ||
888 | int vc_lock_resize(struct vc_data *vc, unsigned int cols, unsigned int lines) | ||
889 | { | ||
890 | int rc; | ||
891 | |||
892 | acquire_console_sem(); | ||
893 | rc = vc_resize(vc, cols, lines); | ||
894 | release_console_sem(); | ||
895 | return rc; | ||
896 | } | ||
888 | 897 | ||
889 | void vc_disallocate(unsigned int currcons) | 898 | void vc_deallocate(unsigned int currcons) |
890 | { | 899 | { |
891 | WARN_CONSOLE_UNLOCKED(); | 900 | WARN_CONSOLE_UNLOCKED(); |
892 | 901 | ||
@@ -3790,6 +3799,7 @@ EXPORT_SYMBOL(default_blu); | |||
3790 | EXPORT_SYMBOL(update_region); | 3799 | EXPORT_SYMBOL(update_region); |
3791 | EXPORT_SYMBOL(redraw_screen); | 3800 | EXPORT_SYMBOL(redraw_screen); |
3792 | EXPORT_SYMBOL(vc_resize); | 3801 | EXPORT_SYMBOL(vc_resize); |
3802 | EXPORT_SYMBOL(vc_lock_resize); | ||
3793 | EXPORT_SYMBOL(fg_console); | 3803 | EXPORT_SYMBOL(fg_console); |
3794 | EXPORT_SYMBOL(console_blank_hook); | 3804 | EXPORT_SYMBOL(console_blank_hook); |
3795 | EXPORT_SYMBOL(console_blanked); | 3805 | EXPORT_SYMBOL(console_blanked); |