X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fchar%2Fftape%2Flowlevel%2Ffdc-io.c;h=3b78eda30b1951bf6b8653513b1a9e197e597473;hb=a9fdee76789476a10f923f9fb3c84993042da3ac;hp=a3b0f510b1e8f2e45a81e1060438b2b022fbba37;hpb=8d40237c730b8be87c1b80a5d96b9c603fefa829;p=linux-2.6.git diff --git a/drivers/char/ftape/lowlevel/fdc-io.c b/drivers/char/ftape/lowlevel/fdc-io.c index a3b0f510b..3b78eda30 100644 --- a/drivers/char/ftape/lowlevel/fdc-io.c +++ b/drivers/char/ftape/lowlevel/fdc-io.c @@ -389,7 +389,7 @@ int fdc_interrupt_wait(unsigned int time) recalc_sigpending(); spin_unlock_irq(¤t->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);