]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/vt_ioctl.c
drivers/char: use __set_current_state()
[linux-2.6-omap-h63xx.git] / drivers / char / vt_ioctl.c
index c9f2dd620e877391373034eba491fb0789a2c425..c6f6f42097391b20f434a669ae6b0f263fda63ee 100644 (file)
@@ -1061,7 +1061,7 @@ int vt_waitactive(int vt)
                schedule();
        }
        remove_wait_queue(&vt_activate_queue, &wait);
-       current->state = TASK_RUNNING;
+       __set_current_state(TASK_RUNNING);
        return retval;
 }