Skip to content

Commit

Permalink
genirq: Fix missing irq allocation affinity hint
Browse files Browse the repository at this point in the history
The new affinity hint argument of __irq_domain_alloc_irqs() is missing in
irq_reserve_ipi(). Add it.

This fixes the following compilation error:

  kernel/irq/ipi.c: In function ‘irq_reserve_ipi’:
  kernel/irq/ipi.c:85:9: error: too few arguments to function ‘__irq_domain_alloc_irqs’
    virq = __irq_domain_alloc_irqs(domain, virq, nr_irqs, NUMA_NO_NODE,
           ^
Fixes: 06ee6d5 ("genirq: Add affinity hint to irq allocation")
Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: linux-pci@vger.kernel.org
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
vstehle authored and KAGA-KOKO committed Jul 19, 2016
1 parent a1b7b1a commit eb0dc47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/irq/ipi.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ int irq_reserve_ipi(struct irq_domain *domain,
}

virq = __irq_domain_alloc_irqs(domain, virq, nr_irqs, NUMA_NO_NODE,
(void *) dest, true);
(void *) dest, true, NULL);

if (virq <= 0) {
pr_warn("Can't reserve IPI, failed to alloc hw irqs\n");
Expand Down

0 comments on commit eb0dc47

Please sign in to comment.