Commit c500cb26 authored by Sonic Zhang's avatar Sonic Zhang Committed by Jeff Garzik
parent a376e79c
...@@ -1326,9 +1326,11 @@ static irqreturn_t smc_interrupt(int irq, void *dev_id) ...@@ -1326,9 +1326,11 @@ static irqreturn_t smc_interrupt(int irq, void *dev_id)
SMC_SET_INT_MASK(mask); SMC_SET_INT_MASK(mask);
spin_unlock(&lp->lock); spin_unlock(&lp->lock);
#ifndef CONFIG_NET_POLL_CONTROLLER
if (timeout == MAX_IRQ_LOOPS) if (timeout == MAX_IRQ_LOOPS)
PRINTK("%s: spurious interrupt (mask = 0x%02x)\n", PRINTK("%s: spurious interrupt (mask = 0x%02x)\n",
dev->name, mask); dev->name, mask);
#endif
DBG(3, "%s: Interrupt done (%d loops)\n", DBG(3, "%s: Interrupt done (%d loops)\n",
dev->name, MAX_IRQ_LOOPS - timeout); dev->name, MAX_IRQ_LOOPS - timeout);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment