Messages in this thread Patch in this message | | | From | Magnus Damm <> | Date | Thu, 12 Mar 2009 21:05:59 +0900 | Subject | [PATCH 03/03] Export remove_irq() and setup_irq() symbols |
| |
From: Magnus Damm <damm@igel.co.jp>
Export the setup_irq() and remove_irq() symbols.
I'd like to export these functions since I have timer code that needs to use setup_irq() early on (too early for request_irq()), and the same code can also be compiled as a module.
Signed-off-by: Magnus Damm <damm@igel.co.jp> ---
kernel/irq/manage.c | 2 ++ 1 file changed, 2 insertions(+)
--- 0003/kernel/irq/manage.c +++ work/kernel/irq/manage.c 2009-03-12 18:49:09.000000000 +0900 @@ -549,6 +549,7 @@ int setup_irq(unsigned int irq, struct i return __setup_irq(irq, desc, act); } +EXPORT_SYMBOL(setup_irq); /* * Internal function to unregister an irqaction - used to free @@ -640,6 +641,7 @@ void remove_irq(unsigned int irq, struct { __free_irq(irq, act->dev_id); } +EXPORT_SYMBOL(remove_irq); /** * free_irq - free an interrupt allocated with request_irq
| |