linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] genirq: export __irq_set_affinity symbol
@ 2016-05-12  5:51 Xie XiuQi
  2016-05-12  7:28 ` Christoph Hellwig
  2016-05-12  7:43 ` Thomas Gleixner
  0 siblings, 2 replies; 5+ messages in thread
From: Xie XiuQi @ 2016-05-12  5:51 UTC (permalink / raw)
  To: tglx; +Cc: linux-kernel, huawei.libin, wangyijing

__irq_set_affinity is declared in include/linux/interrupt.h, but not
been exported.

We export it now, so we could use __irq_set_affinity, irq_set_affinity
and irq_force_affinity in kernel modules.

Cc: Li Bin <huawei.libin@huawei.com>
Cc: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
---
 kernel/irq/manage.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index cc1cc64..e131245 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -239,6 +239,7 @@ int __irq_set_affinity(unsigned int irq, const struct cpumask *mask, bool force)
 	raw_spin_unlock_irqrestore(&desc->lock, flags);
 	return ret;
 }
+EXPORT_SYMBOL_GPL(__irq_set_affinity);
 
 int irq_set_affinity_hint(unsigned int irq, const struct cpumask *m)
 {
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-05-14 15:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-12  5:51 [PATCH] genirq: export __irq_set_affinity symbol Xie XiuQi
2016-05-12  7:28 ` Christoph Hellwig
2016-05-12  7:43 ` Thomas Gleixner
2016-05-12 11:42   ` Xie XiuQi
2016-05-14 15:29     ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).