x86: irq_pipeline: Fix condition for !IRQ_PIPELINE case
PATCH 1/1 x86: irq_pipeline: Fix condition for !IRQ_PIPELINE case
From: Jan Kiszka <[email protected]>
This code is already under CONFIG_SMP: The comment got it right, not yet the implementation. Only affects the pipeline-off case.
Signed-off-by Jan Kiszka <[email protected]>
--- arch/x86/kernel/apic/vector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/apic/vector.c +1 -1
@@ -814,7 +814,7 @@ static struct irq_desc *__setup_vector_irq(int vector)int isairq = vector -ISA_IRQ_VECTOR (0 );/* Copy the cleanup vector if irqs are pipelined. */ -if (IS_ENABLED (CONFIG_SMP ) && +if (IS_ENABLED (CONFIG_IRQ_PIPELINE ) && vector ==IRQ_MOVE_CLEANUP_VECTOR )return irq_to_desc (IRQ_MOVE_CLEANUP_VECTOR );/* 1:1 mapping */ /* Check whether the irq is in the legacy space */
Signature · 1 line
2.31.1