diff options
author | Alistair Popple <alistair@popple.id.au> | 2013-10-30 10:50:38 +1100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-29 22:57:42 -0400 |
commit | 32663b8b8948cc05f812ab82c1c7db2db3ddf717 (patch) | |
tree | 7eeb59bbaf203cc541ff11b68473fd6c4c13de77 /drivers/net/tun.c | |
parent | b4dfd326c29c241c2bb8463167217eb2438b7c3d (diff) | |
download | blackbird-obmc-linux-32663b8b8948cc05f812ab82c1c7db2db3ddf717.tar.gz blackbird-obmc-linux-32663b8b8948cc05f812ab82c1c7db2db3ddf717.zip |
ibm emac: Fix locking for enable/disable eob irq
Calls to mal_enable_eob_irq perform a read-write-modify of a dcr to
enable device irqs which is protected by a spin lock. However calls to
mal_disable_eob_irq do not take the corresponding lock.
This patch resolves the problem by ensuring that calls to
mal_disable_eob_irq also take the lock.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions