]> git.baikalelectronics.ru Git - kernel.git/commit
8139too: Use disable_irq_nosync() in rtl8139_poll_controller()
authorIngo Molnar <mingo@elte.hu>
Wed, 2 May 2018 11:30:57 +0000 (13:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 May 2018 17:22:06 +0000 (13:22 -0400)
commit178345a4eeb4800bfdb1ff3c84103abf60e86e6a
tree46d50e287ceaf42206af0e5b4586c4e6a826c471
parente1f85b2efb4578dd78f7cbcb8938298c38434e96
8139too: Use disable_irq_nosync() in rtl8139_poll_controller()

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>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/8139too.c