|
@@ -1755,7 +1755,7 @@ init_card(struct hfc_pci *hc)
|
|
enable_hwirq(hc);
|
|
enable_hwirq(hc);
|
|
spin_unlock_irqrestore(&hc->lock, flags);
|
|
spin_unlock_irqrestore(&hc->lock, flags);
|
|
/* Timeout 80ms */
|
|
/* Timeout 80ms */
|
|
- current->state = TASK_UNINTERRUPTIBLE;
|
|
|
|
|
|
+ set_current_state(TASK_UNINTERRUPTIBLE);
|
|
schedule_timeout((80 * HZ) / 1000);
|
|
schedule_timeout((80 * HZ) / 1000);
|
|
printk(KERN_INFO "HFC PCI: IRQ %d count %d\n",
|
|
printk(KERN_INFO "HFC PCI: IRQ %d count %d\n",
|
|
hc->irq, hc->irqcnt);
|
|
hc->irq, hc->irqcnt);
|