summaryrefslogtreecommitdiffstats
path: root/kernel/irq/ipi.c
diff options
context:
space:
mode:
authorVincent Stehle <vincent.stehle@laposte.net>2016-07-18 22:56:26 +0200
committerThomas Gleixner <tglx@linutronix.de>2016-07-19 10:49:47 +0200
commiteb0dc47ab6810c432e8193beccd9905ba0db8b22 (patch)
treeb584bef61dfd4a2037489fc13e603b1d70655eb0 /kernel/irq/ipi.c
parenta1b7b1a57b9919a0abb6c93fca04ac9cf840c992 (diff)
downloadlinux-eb0dc47ab6810c432e8193beccd9905ba0db8b22.tar.bz2
genirq: Fix missing irq allocation affinity hint
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: 06ee6d571f0e ("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>
Diffstat (limited to 'kernel/irq/ipi.c')
-rw-r--r--kernel/irq/ipi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/ipi.c b/kernel/irq/ipi.c
index 4fd23510d5f2..1a9abc1c8ea0 100644
--- a/kernel/irq/ipi.c
+++ b/kernel/irq/ipi.c
@@ -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");