]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
genirq/chip: Rework handle_fasteoi_mask_irq()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 29 Apr 2025 06:55:16 +0000 (08:55 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 7 May 2025 07:08:13 +0000 (09:08 +0200)
commitf71d7c45edadfa98edac74bfdf820cce5482673a
tree0eecb07294d8c022fcea1e94508add3b9698a03f
parent2beb01cbb75e5849b6ebc15917c7dd3e46264b48
genirq/chip: Rework handle_fasteoi_mask_irq()

Use the new helpers to decide whether the interrupt should be handled and
switch the descriptor locking to guard().

Note: The mask_irq() operation in the second condition was redundant as the
interrupt is already masked right at the beginning of the function.

Fixup the kernel doc comment while at it.

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/20250429065421.175652864@linutronix.de
kernel/irq/chip.c