mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Export {enable,disable}_percpu_irq().
@ 2013-02-01 20:04 Chris Metcalf
  2013-02-18 20:53 ` [tip:irq/core] genirq: Export enable/disable_percpu_irq() tip-bot for Chris Metcalf
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Metcalf @ 2013-02-01 20:04 UTC (permalink / raw)
  To: linux-kernel, Thomas Gleixner

These functions are used by (for example) the tilegx onchip
network driver, and it's useful to be able to load that driver
as a module.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
---
 kernel/irq/manage.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index e49a288..88e7bed 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -1524,6 +1524,7 @@ void enable_percpu_irq(unsigned int irq, unsigned int type)
 out:
 	irq_put_desc_unlock(desc, flags);
 }
+EXPORT_SYMBOL_GPL(enable_percpu_irq);
 
 void disable_percpu_irq(unsigned int irq)
 {
@@ -1537,6 +1538,7 @@ void disable_percpu_irq(unsigned int irq)
 	irq_percpu_disable(desc, cpu);
 	irq_put_desc_unlock(desc, flags);
 }
+EXPORT_SYMBOL_GPL(disable_percpu_irq);
 
 /*
  * Internal function to unregister a percpu irqaction.
-- 
1.7.10.3


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

end of thread, other threads:[~2013-02-18 20:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-01 20:04 [PATCH] Export {enable,disable}_percpu_irq() Chris Metcalf
2013-02-18 20:53 ` [tip:irq/core] genirq: Export enable/disable_percpu_irq() tip-bot for Chris Metcalf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome