]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: 3com: 3c59x: irq save variant of ISR
authorAnna-Maria Gleixner <anna-maria@linutronix.de>
Fri, 4 May 2018 15:17:49 +0000 (17:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 May 2018 03:25:25 +0000 (23:25 -0400)
commitdea4c96e65b3c5520f1e9d9e038e79d59f5688f1
tree18d8cb69734dc1d4d396b485209c7d17c72a956b
parent47f66c766c8d91fe0a20b85359ce13e467863697
net: 3com: 3c59x: irq save variant of ISR

When vortex_boomerang_interrupt() is invoked from vortex_tx_timeout() or
poll_vortex() interrupts must be disabled. This detaches the interrupt
disable logic from locking which requires patching for PREEMPT_RT.

The advantage of avoiding spin_lock_irqsave() in the interrupt handler is
minimal, but converting it removes all the extra code for callers which
come not from interrupt context.

Cc: Steffen Klassert <klassert@mathematik.tu-chemnitz.de>
Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/3com/3c59x.c