]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/selection.c
drivers/char: use __set_current_state()
[linux-2.6-omap-h63xx.git] / drivers / char / selection.c
index 74cff839c8572c9bf560640b0ea513938627fd54..a69f094d1ed3d8778d6c05506a346e1a56280f04 100644 (file)
@@ -299,7 +299,7 @@ int paste_selection(struct tty_struct *tty)
                pasted += count;
        }
        remove_wait_queue(&vc->paste_wait, &wait);
-       current->state = TASK_RUNNING;
+       __set_current_state(TASK_RUNNING);
 
        tty_ldisc_deref(ld);
        return 0;