Skip to contentSkip to conversation

firestream: replace schedule_timeout()

PATCH New Nishanth Aravamudan 1 participant 1 message Jul 19, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

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