amd-xgbe: Use disable_irq_nosync when in IRQ context
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Tue, 9 Dec 2014 20:54:08 +0000 (14:54 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Dec 2014 02:48:01 +0000 (21:48 -0500)
commitf9c5c62db1c9bc20f396c3527b5074c4e7f1c275
treeebbfd3b92216a9dace09dacf6c13e7f9ee878d1f
parent213a9922d173489bfb3c35865c97176039366664
amd-xgbe: Use disable_irq_nosync when in IRQ context

The disable_irq_nosync function, not the disable_irq function, must be
used to disable the DMA channel interrupt from within the interrupt
service routine. Change the disable_irq call to disable_irq_nosync.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-drv.c