Message ID | 1383006690-6754-3-git-send-email-sboyd@codeaurora.org (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
On Mon, 28 Oct 2013, Stephen Boyd wrote: > In the near future we're going to use these percpu irq functions > in the Krait CPU EDAC driver. Export them so that the EDAC driver > can be compiled as a module. > > Cc: Thomas Gleixner <tglx@linutronix.de> > Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Acked-by: Thomas Gleixner <tglx@linutronix.de> Please take it through the tree which will take the EDAC patches. Thanks, tglx > --- > kernel/irq/manage.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c > index 514bcfd..c6009d1 100644 > --- a/kernel/irq/manage.c > +++ b/kernel/irq/manage.c > @@ -1623,6 +1623,7 @@ void free_percpu_irq(unsigned int irq, void __percpu *dev_id) > kfree(__free_percpu_irq(irq, dev_id)); > chip_bus_sync_unlock(desc); > } > +EXPORT_SYMBOL_GPL(free_percpu_irq); > > /** > * setup_percpu_irq - setup a per-cpu interrupt > @@ -1693,3 +1694,4 @@ int request_percpu_irq(unsigned int irq, irq_handler_t handler, > > return retval; > } > +EXPORT_SYMBOL_GPL(request_percpu_irq); > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > hosted by The Linux Foundation > > -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 514bcfd..c6009d1 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -1623,6 +1623,7 @@ void free_percpu_irq(unsigned int irq, void __percpu *dev_id) kfree(__free_percpu_irq(irq, dev_id)); chip_bus_sync_unlock(desc); } +EXPORT_SYMBOL_GPL(free_percpu_irq); /** * setup_percpu_irq - setup a per-cpu interrupt @@ -1693,3 +1694,4 @@ int request_percpu_irq(unsigned int irq, irq_handler_t handler, return retval; } +EXPORT_SYMBOL_GPL(request_percpu_irq);
In the near future we're going to use these percpu irq functions in the Krait CPU EDAC driver. Export them so that the EDAC driver can be compiled as a module. Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> --- kernel/irq/manage.c | 2 ++ 1 file changed, 2 insertions(+)