X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Fchar%2Fselection.c;h=a69f094d1ed3d8778d6c05506a346e1a56280f04;hb=e61a1c1c4f240cec61300c8f27518c3e47570fd4;hp=74cff839c8572c9bf560640b0ea513938627fd54;hpb=946b92437e550d6ed80213bf54a1f383e141aede;p=powerpc.git diff --git a/drivers/char/selection.c b/drivers/char/selection.c index 74cff839c8..a69f094d1e 100644 --- a/drivers/char/selection.c +++ b/drivers/char/selection.c @@ -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;