genirq/generic-chip: Make locking unconditional
authorThomas Gleixner <tglx@linutronix.de>
Thu, 13 Mar 2025 14:31:15 +0000 (15:31 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 7 Apr 2025 07:43:19 +0000 (09:43 +0200)
commit06f2f68a670aae28b825065439301831e74da880
tree9e7fc433a3c343cd5ca4b04617e46daf15c46efb
parent1902a59cf5f9d8b99ecf0cb8f122cb00ef7a3f13
genirq/generic-chip: Make locking unconditional

The SMP conditional wrappers around raw_spin_[un]lock() have no real
value. On !SMP kernels the lock operations are NOOPs except for a
preempt_disable/enable() pair on PREEMPT enabled kernels, which are not
really worth to optimize for. Aside of that this evades lockdep on !SMP
kernels.

Remove the !SMP stubs and make it unconditional.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250313142524.011345765@linutronix.de
include/linux/irq.h