mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-28 16:52:18 +00:00
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 <kabel@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
d6ca3f4402
commit
b77c6a73e1
@ -879,7 +879,7 @@ static int __init mpic_of_init(struct device_node *node, struct device_node *par
|
||||
return err;
|
||||
}
|
||||
|
||||
if (mpic->parent_irq <= 0) {
|
||||
if (mpic_is_ipi_available(mpic)) {
|
||||
irq_set_default_host(mpic->domain);
|
||||
set_handle_irq(mpic_handle_irq);
|
||||
#ifdef CONFIG_SMP
|
||||
|
Loading…
Reference in New Issue
Block a user