]> www.infradead.org Git - users/jedix/linux-maple.git/commit
genirq: Make handle_enforce_irqctx() unconditionally available
authorThomas Gleixner <tglx@linutronix.de>
Tue, 10 Dec 2024 10:20:43 +0000 (11:20 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 15 Jan 2025 09:56:21 +0000 (10:56 +0100)
commit8d187a77f04c14fb459a5301d69f733a5a1396bc
tree592aadd15d78c3e91ea7ee541b31752d4c9fcdc8
parent2af257388473298898d71313cfa6092b572f2602
genirq: Make handle_enforce_irqctx() unconditionally available

Commit 1b57d91b969c ("irqchip/gic-v2, v3: Prevent SW resends entirely")
sett the flag which enforces interrupt handling in interrupt context and
prevents software base resends for ARM GIC v2/v3.

But it missed that the helper function which checks the flag was hidden
behind CONFIG_GENERIC_PENDING_IRQ, which is not set by ARM[64].

Make the helper unconditionally available so that the enforcement actually
works.

Fixes: 1b57d91b969c ("irqchip/gic-v2, v3: Prevent SW resends entirely")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20241210101811.497716609@linutronix.de
kernel/irq/internals.h