]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
genirq/generic-chip: Convert core code to lock guards
authorThomas Gleixner <tglx@linutronix.de>
Thu, 13 Mar 2025 14:31:17 +0000 (15:31 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 7 Apr 2025 07:43:19 +0000 (09:43 +0200)
commit195298c3b11628a6c52c515c31470e673cf259a9
tree9281554fc23c3a332a0e677767fdf350cee40259
parent06f2f68a670aae28b825065439301831e74da880
genirq/generic-chip: Convert core code to lock guards

Replace the irq_gc_lock/unlock() pairs with guards. There is no point to
implement a guard wrapper for them as they just wrap around raw_spin_lock*().

Switch the other lock instances in the core code to guards as well.

Conversion was done with Coccinelle plus manual fixups.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/all/20250313142524.073826193@linutronix.de
kernel/irq/generic-chip.c