drivers/staging: use current->state helpers
[linux-2.6-microblaze.git] / drivers / staging / speakup / selection.c
index 507fc9a..a031570 100644 (file)
@@ -157,7 +157,7 @@ static void __speakup_paste_selection(struct work_struct *work)
                pasted += count;
        }
        remove_wait_queue(&vc->paste_wait, &wait);
-       current->state = TASK_RUNNING;
+       __set_current_state(TASK_RUNNING);
 
        tty_buffer_unlock_exclusive(&vc->port);
        tty_ldisc_deref(ld);