Skip to contentSkip to conversation

atm/lanai: replace schedule_timeout()

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

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

PATCH 5/5 atm/lanai: replace schedule_timeout()

Any comments would be appreciated.

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

drivers/atm/lanai.c +1 -1
@@ -813,7 +813,7 @@ static void lanai_shutdown_tx_vci(struct
 			DPRINTK("read, write = %d, %d\n", read, write);
 			break;
 		}
-		schedule_timeout(HZ / 25);
+		msleep(40);
 	}
 	/* 15.2.2 - clear out all tx registers */
 	cardvcc_write(lvcc, 0, vcc_txreadptr);

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors