Skip to contentSkip to conversation

atm/firestream: replace

PATCH In review Nishanth Aravamudan 1 participant 1 message Sep 15, 2004

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

PATCH 2/5 atm/firestream: replace

Any comments would be appreciated. This is a re-push of a patch I sent 19 July but the changes haven't appared in either 2.6.9-rc1-mm5 or 2.6.9-rc2.

Description: msleep() is used instead of schedule_timeout() to guarantee the task delays as expected.

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