Commit aec2e2ad authored by Maxime Ripard's avatar Maxime Ripard Committed by David S. Miller
Browse files

irq: Export per-cpu irq allocation and de-allocation functions

Some drivers might use the per-cpu interrupts and still might be built as a
module. Export request_percpu_irq an free_percpu_irq to these user, which
also make it consistent with enable/disable_percpu_irq that were exported.

Reported-by: default avatarWilly Tarreau <>
Signed-off-by: default avatarMaxime Ripard <>
Signed-off-by: default avatarGregory CLEMENT <>
Signed-off-by: default avatarDavid S. Miller <>
parent a1b7febd
......@@ -1761,6 +1761,7 @@ void free_percpu_irq(unsigned int irq, void __percpu *dev_id)
kfree(__free_percpu_irq(irq, dev_id));
* setup_percpu_irq - setup a per-cpu interrupt
......@@ -1832,6 +1833,7 @@ int request_percpu_irq(unsigned int irq, irq_handler_t handler,
return retval;
* irq_get_irqchip_state - returns the irqchip state of a interrupt.
Supports Markdown
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