char/fdc-io: replace
PATCH 7/33 char/fdc-io: replace
Any comments would be appreciated.
Description: Use set_current_state() instead of direct assignment of current->state.
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/char/ftape/lowlevel/fdc-io.c +1 -1
@@ -389,7 +389,7 @@ int fdc_interrupt_wait(unsigned int timerecalc_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);
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors