This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / char / ftape / lowlevel / fdc-io.c
index a3b0f51..3b78eda 100644 (file)
@@ -389,7 +389,7 @@ int fdc_interrupt_wait(unsigned int time)
        recalc_sigpending();
        spin_unlock_irq(&current->sighand->siglock);
 
-       set_current_state(TASK_INTERRUPTIBLE);
+       current->state = TASK_INTERRUPTIBLE;
        add_wait_queue(&ftape_wait_intr, &wait);
        while (!ft_interrupt_seen && (current->state == TASK_INTERRUPTIBLE)) {
                timeout = schedule_timeout(timeout);