genirq: export irq_get_percpu_devid_partition to modules
authorWill Deacon <[email protected]>
Mon, 25 Jul 2016 15:07:10 +0000 (16:07 +0100)
committerWill Deacon <[email protected]>
Wed, 18 Oct 2017 11:53:29 +0000 (12:53 +0100)
Any modular driver using cluster-affine PPIs needs to be able to call
irq_get_percpu_devid_partition so that it can enable the IRQ on the
correct subset of CPUs.

This patch exports the symbol so that it can be called from within a
module.

Acked-by: Marc Zyngier <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
kernel/irq/irqdesc.c

index 82afb7ed369f0df70bcd5d6fdc110addda5b842f..694c1a9d6485b9cd0d6b61db23f4bf11768ab1a8 100644 (file)
@@ -863,6 +863,7 @@ int irq_get_percpu_devid_partition(unsigned int irq, struct cpumask *affinity)
 
        return 0;
 }
+EXPORT_SYMBOL_GPL(irq_get_percpu_devid_partition);
 
 void kstat_incr_irq_this_cpu(unsigned int irq)
 {