From: Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems Signed-off-by: Andrew Morton --- 25-akpm/drivers/char/ftape/lowlevel/fdc-io.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/char/ftape/lowlevel/fdc-io.c~janitor-char-fdc-io-replace-direct-assignment-with-set_current_state drivers/char/ftape/lowlevel/fdc-io.c --- 25/drivers/char/ftape/lowlevel/fdc-io.c~janitor-char-fdc-io-replace-direct-assignment-with-set_current_state Thu Sep 23 15:39:23 2004 +++ 25-akpm/drivers/char/ftape/lowlevel/fdc-io.c Thu Sep 23 15:39:23 2004 @@ -389,7 +389,7 @@ int fdc_interrupt_wait(unsigned int time recalc_sigpending(); spin_unlock_irq(¤t->sighand->siglock); - current->state = TASK_INTERRUPTIBLE; + set_current_state(TASK_INTERRUPTIBLE); add_wait_queue(&ftape_wait_intr, &wait); while (!ft_interrupt_seen && (current->state == TASK_INTERRUPTIBLE)) { timeout = schedule_timeout(timeout); _