]> git.baikalelectronics.ru Git - kernel.git/commit
genirq: Fix missing irq allocation affinity hint
authorVincent Stehle <vincent.stehle@laposte.net>
Mon, 18 Jul 2016 20:56:26 +0000 (22:56 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 19 Jul 2016 08:49:47 +0000 (10:49 +0200)
commitdf4d8ee74a2322e2d887ec6168cebe36db7d9fd4
treeb584bef61dfd4a2037489fc13e603b1d70655eb0
parentb38a6d71278c3cab4d49dcae4329a917ab01fbdd
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: 57e554a77fb8 ("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>
kernel/irq/ipi.c