diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2025-03-13 15:31:15 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-04-07 09:43:19 +0200 |
commit | 06f2f68a670aae28b825065439301831e74da880 (patch) | |
tree | 9e7fc433a3c343cd5ca4b04617e46daf15c46efb /scripts/generate_rust_analyzer.py | |
parent | 1902a59cf5f9d8b99ecf0cb8f122cb00ef7a3f13 (diff) |
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
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions