diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2013-02-01 15:04:26 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2013-02-18 15:42:25 -0500 |
commit | 36a5df85e9a3c218b73f6cf80098016ca3f0410d (patch) | |
tree | 83c8d0189615193b2d6111a48ec79097d1661f54 /kernel/irq | |
parent | 077931446b85e7858bf9dc0927cd116669b965d2 (diff) |
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: Chris Metcalf <cmetcalf@tilera.com>
Link: http://lkml.kernel.org/r/201302012043.r11KhNZF024371@farm-0021.internal.tilera.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq')
-rw-r--r-- | kernel/irq/manage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index e49a288fa479..88e7bed62711 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) | |||
1524 | out: | 1524 | out: |
1525 | irq_put_desc_unlock(desc, flags); | 1525 | irq_put_desc_unlock(desc, flags); |
1526 | } | 1526 | } |
1527 | EXPORT_SYMBOL_GPL(enable_percpu_irq); | ||
1527 | 1528 | ||
1528 | void disable_percpu_irq(unsigned int irq) | 1529 | void disable_percpu_irq(unsigned int irq) |
1529 | { | 1530 | { |
@@ -1537,6 +1538,7 @@ void disable_percpu_irq(unsigned int irq) | |||
1537 | irq_percpu_disable(desc, cpu); | 1538 | irq_percpu_disable(desc, cpu); |
1538 | irq_put_desc_unlock(desc, flags); | 1539 | irq_put_desc_unlock(desc, flags); |
1539 | } | 1540 | } |
1541 | EXPORT_SYMBOL_GPL(disable_percpu_irq); | ||
1540 | 1542 | ||
1541 | /* | 1543 | /* |
1542 | * Internal function to unregister a percpu irqaction. | 1544 | * Internal function to unregister a percpu irqaction. |