firestream: replace schedule_timeout()
Subsystems (2)
PATCH 1/1 firestream: replace schedule_timeout()
I would appreciate any comments from the janitors list. If this is ok, I have many (almost 200) more with similar fixes.
Thanks,
Nish
Applys-to: 2.6.7
Description: Uses msleep() instead of schedule_timeout() to guarantee the task delays at least the desired time amount.
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/atm/firestream.c +1 -2
@@ -1704,8 +1704,7 @@ static int __devinit fs_init (struct fs_ }/* Try again after 10ms. */ -set_current_state (TASK_UNINTERRUPTIBLE ); -schedule_timeout ((HZ +99 )/100 ); +msleep (10 ); }if (!to) {
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors