Commit abce996a authored by Andi Kleen's avatar Andi Kleen Committed by Stephen Hemminger

[PATCH] fix tg3 netpoll

No need to use disable_irq because tg3 is properly spinlocked.
Can just call the interrupt handler directly.
parent ce0684ca
...@@ -2482,9 +2482,7 @@ static int tg3_halt(struct tg3 *); ...@@ -2482,9 +2482,7 @@ static int tg3_halt(struct tg3 *);
#ifdef CONFIG_NET_POLL_CONTROLLER #ifdef CONFIG_NET_POLL_CONTROLLER
static void tg3_poll_controller(struct net_device *dev) static void tg3_poll_controller(struct net_device *dev)
{ {
disable_irq(dev->irq); tg3_interrupt(dev->irq, dev, NULL);
tg3_interrupt (dev->irq, dev, NULL);
enable_irq(dev->irq);
} }
#endif #endif
......
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