The change removes the 'manual' schedule_timeout and replaces it with schedule_timeout_uninterruptible
Tested compile only with allmodconfig Signed-off-by: Amol Lad <[EMAIL PROTECTED]> --- depca.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) --- --- linux-2.6.19-rc1-orig/drivers/net/depca.c 2006-10-05 14:00:47.000000000 +0530 +++ linux-2.6.19-rc1/drivers/net/depca.c 2006-10-09 16:37:13.000000000 +0530 @@ -738,7 +738,7 @@ static int __init depca_hw_init (struct interrupts. For now we will always get a DMA error. */ if (dev->irq < 2) { unsigned char irqnum; - unsigned long irq_mask, delay; + unsigned long irq_mask; irq_mask = probe_irq_on(); @@ -767,9 +767,7 @@ static int __init depca_hw_init (struct /* Trigger an initialization just for the interrupt. */ outw(INEA | INIT, DEPCA_DATA); - delay = jiffies + HZ/50; - while (time_before(jiffies, delay)) - yield(); + schedule_timeout_uninterruptible(jiffies + HZ/50); irqnum = probe_irq_off(irq_mask); - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html