]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
genirq/manage: Rework irq_percpu_is_enabled()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 29 Apr 2025 06:55:46 +0000 (08:55 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 7 May 2025 07:08:16 +0000 (09:08 +0200)
commitb171f712d6ef1ae073d18e8ea9df1e96eb34f226
treeaba1f4493ba663ffa52e896d8a02f2c1867e5b43
parent508bd94c3ad4bd8b5dba8280198ce1eb31eb625a
genirq/manage: Rework irq_percpu_is_enabled()

Use the new guards to get and lock the interrupt descriptor and tidy up the
code.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/all/20250429065422.376836282@linutronix.de
kernel/irq/manage.c