Skip to content

Commit

Permalink
irq: export remove_irq() and setup_irq() symbols
Browse files Browse the repository at this point in the history
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>
LKML-Reference: <20090312120559.2926.82371.sendpatchset@rx1.opensource.se>
[ changed to _GPL as these are special APIs deep inside the irq layer. ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Magnus Damm authored and Ingo Molnar committed Mar 12, 2009
1 parent cbf94f0 commit eb53b4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kernel/irq/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ int setup_irq(unsigned int irq, struct irqaction *act)

return __setup_irq(irq, desc, act);
}
EXPORT_SYMBOL_GPL(setup_irq);

/*
* Internal function to unregister an irqaction - used to free
Expand Down Expand Up @@ -640,6 +641,7 @@ void remove_irq(unsigned int irq, struct irqaction *act)
{
__free_irq(irq, act->dev_id);
}
EXPORT_SYMBOL_GPL(remove_irq);

/**
* free_irq - free an interrupt allocated with request_irq
Expand Down

0 comments on commit eb53b4e

Please sign in to comment.