s390/device_ops: insert
Subsystems (3)
PATCH 1/1 s390/device_ops: insert
I would appreciate any comments from the janitors list.
Applys-to: 2.6.7
Description: Add appropriate set_current_state() calls so schedule_timeout() functions as expected.
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/s390/cio/device_ops.c +2 -0
@@ -268,6 +268,7 @@ __ccw_device_retry_loop(struct ccw_devicif ((ret == -EBUSY ) || (ret == -EACCES )) {/* Try again later. */ spin_unlock_irq (&sch->lock); +set_current_state (TASK_UNINTERRUPTIBLE );schedule_timeout (1 );spin_lock_irq (&sch->lock);continue ;
@@ -294,6 +295,7 @@ __ccw_device_retry_loop(struct ccw_devicbreak ;/* Try again later. */ spin_unlock_irq (&sch->lock); +set_current_state (TASK_UINTERRUPTIBLE );schedule_timeout (1 );spin_lock_irq (&sch->lock); }while (1 );
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors