diff options
author | Milind Arun Choudhary <milindchoudhary@gmail.com> | 2007-05-08 03:30:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:13 -0400 |
commit | cc0a8fbb7ce00f65dc337dd91389b7151f44ed30 (patch) | |
tree | 2d33013f99e7b889932618ff02a77dae7734023d /drivers/char/vt_ioctl.c | |
parent | 5ab2f7e0fdd04148e08348701d6bd6a292ce2d26 (diff) |
drivers/char: use __set_current_state()
use __set_current_state(TASK_*) instead of current->state = TASK_*,
Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com>
Cc: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/vt_ioctl.c')
-rw-r--r-- | drivers/char/vt_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/vt_ioctl.c b/drivers/char/vt_ioctl.c index c9f2dd620e87..c6f6f4209739 100644 --- a/drivers/char/vt_ioctl.c +++ b/drivers/char/vt_ioctl.c | |||
@@ -1061,7 +1061,7 @@ int vt_waitactive(int vt) | |||
1061 | schedule(); | 1061 | schedule(); |
1062 | } | 1062 | } |
1063 | remove_wait_queue(&vt_activate_queue, &wait); | 1063 | remove_wait_queue(&vt_activate_queue, &wait); |
1064 | current->state = TASK_RUNNING; | 1064 | __set_current_state(TASK_RUNNING); |
1065 | return retval; | 1065 | return retval; |
1066 | } | 1066 | } |
1067 | 1067 | ||