diff options
author | Vincent Stehle <vincent.stehle@laposte.net> | 2016-07-18 16:56:26 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-07-19 04:49:47 -0400 |
commit | eb0dc47ab6810c432e8193beccd9905ba0db8b22 (patch) | |
tree | b584bef61dfd4a2037489fc13e603b1d70655eb0 | |
parent | a1b7b1a57b9919a0abb6c93fca04ac9cf840c992 (diff) |
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>
-rw-r--r-- | kernel/irq/ipi.c | 2 |
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, | |||
83 | } | 83 | } |
84 | 84 | ||
85 | virq = __irq_domain_alloc_irqs(domain, virq, nr_irqs, NUMA_NO_NODE, | 85 | virq = __irq_domain_alloc_irqs(domain, virq, nr_irqs, NUMA_NO_NODE, |
86 | (void *) dest, true); | 86 | (void *) dest, true, NULL); |
87 | 87 | ||
88 | if (virq <= 0) { | 88 | if (virq <= 0) { |
89 | pr_warn("Can't reserve IPI, failed to alloc hw irqs\n"); | 89 | pr_warn("Can't reserve IPI, failed to alloc hw irqs\n"); |