]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/epca.c
drivers/char: use __set_current_state()
[linux-2.6-omap-h63xx.git] / drivers / char / epca.c
index de5be30484ad3d9f8b91b8f0699ca39c97647d99..c6c56fb8ba5098f341692d16c698e39a383abda1 100644 (file)
@@ -949,7 +949,7 @@ static int block_til_ready(struct tty_struct *tty,
 
        } /* End forever while  */
 
-       current->state = TASK_RUNNING;
+       __set_current_state(TASK_RUNNING);
        remove_wait_queue(&ch->open_wait, &wait);
        if (!tty_hung_up_p(filp))
                ch->count++;