isdn/config: replace
PATCH 3/15 isdn/config: replace
Any comments would be appreciated. This is a re-push of a patch submitted a few months ago which has not been merged as of 2.6.9-rc1-mm5 / 2.6.9-rc2.
Description: Uses msleep() in place of schedule_timeout() to guarantee the task delays as expected.
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/isdn/hisax/config.c +1 -2
@@ -843,9 +843,8 @@ static int init_card(struct IsdnCardStat }while (cnt) { cs->cardmsg (cs,CARD_INIT ,NULL ); -set_current_state (TASK_UNINTERRUPTIBLE );/* Timeout 10ms */ -schedule_timeout ((10 *HZ ) /1000 ); +msleep (10 );printk (KERN_INFO "%s: IRQ %d count %d\n" , CardType[cs->typ], cs->irq,kstat_irqs (cs->irq));if (kstat_irqs (cs->irq) == irq_cnt) {
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors