projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/staging: use current->state helpers
[linux-2.6-microblaze.git]
/
drivers
/
staging
/
speakup
/
selection.c
diff --git
a/drivers/staging/speakup/selection.c
b/drivers/staging/speakup/selection.c
index
507fc9a
..
a031570
100644
(file)
--- a/
drivers/staging/speakup/selection.c
+++ b/
drivers/staging/speakup/selection.c
@@
-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);