Commit 36a5df85 authored by Chris Metcalf's avatar Chris Metcalf Committed by Thomas Gleixner

genirq: Export enable/disable_percpu_irq()

These functions are used by the tilegx onchip network driver, and it's
useful to be able to load that driver as a module.
Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
Link: http://lkml.kernel.org/r/201302012043.r11KhNZF024371@farm-0021.internal.tilera.comSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 07793144
...@@ -1524,6 +1524,7 @@ void enable_percpu_irq(unsigned int irq, unsigned int type) ...@@ -1524,6 +1524,7 @@ void enable_percpu_irq(unsigned int irq, unsigned int type)
out: out:
irq_put_desc_unlock(desc, flags); irq_put_desc_unlock(desc, flags);
} }
EXPORT_SYMBOL_GPL(enable_percpu_irq);
void disable_percpu_irq(unsigned int irq) void disable_percpu_irq(unsigned int irq)
{ {
...@@ -1537,6 +1538,7 @@ void disable_percpu_irq(unsigned int irq) ...@@ -1537,6 +1538,7 @@ void disable_percpu_irq(unsigned int irq)
irq_percpu_disable(desc, cpu); irq_percpu_disable(desc, cpu);
irq_put_desc_unlock(desc, flags); irq_put_desc_unlock(desc, flags);
} }
EXPORT_SYMBOL_GPL(disable_percpu_irq);
/* /*
* Internal function to unregister a percpu irqaction. * Internal function to unregister a percpu irqaction.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment