Skip to content

Commit 5ffeb05

Browse files
committed
genirq: export irq_get_percpu_devid_partition to modules
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 <marc.zyngier@arm.com> Acked-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Will Deacon <will.deacon@arm.com>
1 parent 9e66317 commit 5ffeb05

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎kernel/irq/irqdesc.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,7 @@ int irq_get_percpu_devid_partition(unsigned int irq, struct cpumask *affinity)
863863

864864
return 0;
865865
}
866+
EXPORT_SYMBOL_GPL(irq_get_percpu_devid_partition);
866867

867868
void kstat_incr_irq_this_cpu(unsigned int irq)
868869
{

0 commit comments

Comments
 (0)