isdn/hisax: replace schedule_timeout()
PATCH 1/1 isdn/hisax: replace schedule_timeout()
I would appreciate any comments from the janitors list.
Thanks,
Nish
Applys-to: 2.6.7
Description: Replace schedule_timeout() with msleep() to guarantee the task delays the desired time.
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/isdn/hisax/config.c +1 -2
@@ -849,9 +849,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