diff options
author | Fuqian Huang <huangfq.daxian@gmail.com> | 2019-08-09 13:35:39 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-08 22:43:34 -0700 |
commit | 8c25d0887a8bd0e1ca2074ac0c6dff173787a83b (patch) | |
tree | 8565ba4f2a198116cff66a723b71c7c5a524b8a0 /net/bridge | |
parent | 227f2f030e28d8783c3d10ce70ff4ba79cad653f (diff) | |
download | linux-stable-8c25d0887a8bd0e1ca2074ac0c6dff173787a83b.tar.gz linux-stable-8c25d0887a8bd0e1ca2074ac0c6dff173787a83b.tar.bz2 linux-stable-8c25d0887a8bd0e1ca2074ac0c6dff173787a83b.zip |
net: tundra: tsi108: use spin_lock_irqsave instead of spin_lock_irq in IRQ context
As spin_unlock_irq will enable interrupts.
Function tsi108_stat_carry is called from interrupt handler tsi108_irq.
Interrupts are enabled in interrupt handler.
Use spin_lock_irqsave/spin_unlock_irqrestore instead of spin_(un)lock_irq
in IRQ context to avoid this.
Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions