message/mptbase: replace schedule_timeout() with
Subsystems (2)
PATCH 1/1 message/mptbase: replace schedule_timeout() with
Any comments would be, as always, appreciated.
-Nish
Description: Uses msleep_interruptible() instead of schedule_timeout() to guarantee the task delays as expected.
drivers/message/fusion/mptbase.c +1 -2
@@ -3171,8 +3171,7 @@ mpt_diag_reset(MPT_ADAPTER *ioc, int ign/* wait 1 sec */ if (sleepFlag ==CAN_SLEEP ) { -set_current_state (TASK_INTERRUPTIBLE ); -schedule_timeout (1000 *HZ /1000 ); +msleep_interruptible (1000 ); }else {mdelay (1000 ); }
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
maximilian attems
AppliedQuoted 9 lines · Nishanth Aravamudan
Any comments would be, as always, appreciated.
-Nish
Description: Uses
msleep_interruptible()instead ofschedule_timeout()to guarantee the task delays as expected.Signed-off-by Nishanth Aravamudan <[email protected]>
applied to kjt,
to get further testing and to be shure it gets upstream.
thanks maks
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors