diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-08-11 10:40:16 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-08-11 10:40:16 +0300 |
commit | 41450b1b5ba101bf470b4fdf0407b30696e86bd3 (patch) | |
tree | 6d42fc8d3afc7770d8cc0c64ad92fd0835a82c1f /drivers/tty/vt | |
parent | fe14f39e88c8ac16d0a051f8444a2294f8cb358c (diff) | |
parent | 6ac7ada210a8d23a56fbf18b6e1e00528844565c (diff) | |
download | linux-41450b1b5ba101bf470b4fdf0407b30696e86bd3.tar.xz |
Merge branch 'for-linus' into for-next
Diffstat (limited to 'drivers/tty/vt')
-rw-r--r-- | drivers/tty/vt/selection.c | 1 | ||||
-rw-r--r-- | drivers/tty/vt/vt.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/tty/vt/selection.c b/drivers/tty/vt/selection.c index ea27804d87af..381a2b13682c 100644 --- a/drivers/tty/vt/selection.c +++ b/drivers/tty/vt/selection.c @@ -356,6 +356,7 @@ int paste_selection(struct tty_struct *tty) schedule(); continue; } + __set_current_state(TASK_RUNNING); count = sel_buffer_lth - pasted; count = tty_ldisc_receive_buf(ld, sel_buffer + pasted, NULL, count); diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c index 8fe52989b380..4462d167900c 100644 --- a/drivers/tty/vt/vt.c +++ b/drivers/tty/vt/vt.c @@ -742,6 +742,8 @@ static void visual_init(struct vc_data *vc, int num, int init) __module_get(vc->vc_sw->owner); vc->vc_num = num; vc->vc_display_fg = &master_display_fg; + if (vc->vc_uni_pagedir_loc) + con_free_unimap(vc); vc->vc_uni_pagedir_loc = &vc->vc_uni_pagedir; vc->vc_uni_pagedir = NULL; vc->vc_hi_font_mask = 0; |