diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-07-03 08:29:24 -0500 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-02-15 10:32:31 -0600 |
commit | 9cef609f313eb02fa9f17ae3923a15ed80df9c79 (patch) | |
tree | 4aa148097503ad01f6479760fc5b8d06adab171b /drivers | |
parent | 6427800f14c02c89da815c96c5d4202a0234d741 (diff) |
drivers/net: Use disable_irq_nosync() in 8139too
Use disable_irq_nosync() instead of disable_irq() as this might be
called in atomic context with netpoll.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/realtek/8139too.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/realtek/8139too.c b/drivers/net/ethernet/realtek/8139too.c index 4d6b254fc6c1..004c054c9b3e 100644 --- a/drivers/net/ethernet/realtek/8139too.c +++ b/drivers/net/ethernet/realtek/8139too.c @@ -2174,7 +2174,7 @@ static irqreturn_t rtl8139_interrupt (int irq, void *dev_instance) */ static void rtl8139_poll_controller(struct net_device *dev) { - disable_irq(dev->irq); + disable_irq_nosync(dev->irq); rtl8139_interrupt(dev->irq, dev); enable_irq(dev->irq); } |