projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce402f0
)
8139too: Use disable_irq_nosync() in rtl8139_poll_controller()
author
Ingo Molnar
<
[email protected]
>
Wed, 2 May 2018 11:30:57 +0000
(13:30 +0200)
committer
David S. Miller
<
[email protected]
>
Wed, 2 May 2018 17:22:06 +0000
(13:22 -0400)
Use disable_irq_nosync() instead of disable_irq() as this might be
called in atomic context with netpoll.
Signed-off-by: Ingo Molnar <
[email protected]
>
Signed-off-by: Thomas Gleixner <
[email protected]
>
Signed-off-by: Sebastian Andrzej Siewior <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/realtek/8139too.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/realtek/8139too.c
b/drivers/net/ethernet/realtek/8139too.c
index d24b47b8e0b27e0f44243f5a1011779c0ebd09f9..d118da5a10a2059df4255d46a2652714f5c44a93 100644
(file)
--- a/
drivers/net/ethernet/realtek/8139too.c
+++ b/
drivers/net/ethernet/realtek/8139too.c
@@
-2224,7
+2224,7
@@
static void rtl8139_poll_controller(struct net_device *dev)
struct rtl8139_private *tp = netdev_priv(dev);
const int irq = tp->pci_dev->irq;
- disable_irq(irq);
+ disable_irq
_nosync
(irq);
rtl8139_interrupt(irq, dev);
enable_irq(irq);
}