diff options
Diffstat (limited to 'drivers/char/epca.c')
-rw-r--r-- | drivers/char/epca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/epca.c b/drivers/char/epca.c index de5be30484ad..c6c56fb8ba50 100644 --- a/drivers/char/epca.c +++ b/drivers/char/epca.c | |||
@@ -949,7 +949,7 @@ static int block_til_ready(struct tty_struct *tty, | |||
949 | 949 | ||
950 | } /* End forever while */ | 950 | } /* End forever while */ |
951 | 951 | ||
952 | current->state = TASK_RUNNING; | 952 | __set_current_state(TASK_RUNNING); |
953 | remove_wait_queue(&ch->open_wait, &wait); | 953 | remove_wait_queue(&ch->open_wait, &wait); |
954 | if (!tty_hung_up_p(filp)) | 954 | if (!tty_hung_up_p(filp)) |
955 | ch->count++; | 955 | ch->count++; |