浏览代码

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>
Will Deacon 9 年之前
父节点
当前提交
5ffeb0501c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      kernel/irq/irqdesc.c

+ 1 - 0
kernel/irq/irqdesc.c

@@ -863,6 +863,7 @@ int irq_get_percpu_devid_partition(unsigned int irq, struct cpumask *affinity)
 
 
 	return 0;
 	return 0;
 }
 }
+EXPORT_SYMBOL_GPL(irq_get_percpu_devid_partition);
 
 
 void kstat_incr_irq_this_cpu(unsigned int irq)
 void kstat_incr_irq_this_cpu(unsigned int irq)
 {
 {