Skip to content

Commit b77c6a7

Browse files
elkabloKAGA-KOKO
authored andcommitted
irqchip/armada-370-xp: Use mpic_is_ipi_available() in mpic_of_init()
mpic_of_init() contains the last case where the open coded IPI support condition needs to be replaced with mpic_is_ipi_available() to keep the code consistent. Signed-off-by: Marek Behún <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
1 parent d6ca3f4 commit b77c6a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/irqchip/irq-armada-370-xp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ static int __init mpic_of_init(struct device_node *node, struct device_node *par
879879
return err;
880880
}
881881

882-
if (mpic->parent_irq <= 0) {
882+
if (mpic_is_ipi_available(mpic)) {
883883
irq_set_default_host(mpic->domain);
884884
set_handle_irq(mpic_handle_irq);
885885
#ifdef CONFIG_SMP

0 commit comments

Comments
 (0)