]> git.baikalelectronics.ru Git - kernel.git/commit
e1000: use disable_hardirq() for e1000_netpoll()
authorWANG Cong <xiyou.wangcong@gmail.com>
Sat, 10 Dec 2016 22:22:42 +0000 (14:22 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Dec 2016 04:31:19 +0000 (23:31 -0500)
commitc89c2206039bc406f170866350b92676592c1873
tree10e4600e1b22d506e9f89b6a2b2580b37c350d39
parentb4ef1af1900dd08a89e954c500a69c969e215c4b
e1000: use disable_hardirq() for e1000_netpoll()

In commit 9cdacd110ea7 ("genirq: Provide disable_hardirq()")
Peter introduced disable_hardirq() for netpoll, but it is forgotten
to use it for e1000.

This patch changes disable_irq() to disable_hardirq() for e1000.

Reported-by: Dave Jones <davej@codemonkey.org.uk>
Suggested-by: Sabrina Dubroca <sd@queasysnail.net>
Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/e1000/e1000_main.c
drivers/net/ethernet/intel/e1000e/netdev.c