mmc: replace schedule_timeout()
Subsystems (2)
PATCH 1/1 mmc: replace schedule_timeout()
Any comments would be appreciated.
Description: Use msleep_interruptible() instead of schedule_timeout() to guarantee the task delays as expected.
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/mmc/mmc.c +1 -2
@@ -270,8 +270,7 @@ static inline void mmc_delay(unsigned inyield ();mdelay (ms); }else { -set_current_state (TASK_INTERRUPTIBLE ); -schedule_timeout (ms *HZ /1000 ); +msleep_interruptible (ms); } }
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors