request_percpu_irq — allocate a percpu interrupt line
|unsigned int irq,|
|const char * devname,|
|void __percpu * dev_id|
unsigned int irq
Interrupt line to allocate
Function to be called when the IRQ occurs.
const char * devname
An ascii name for the claiming device
void __percpu * dev_id
A percpu cookie passed back to the handler function
This call allocates interrupt resources and enables the
interrupt on the local CPU. If the interrupt is supposed to be
enabled on other CPUs, it has to be done on each CPU using
Dev_id must be globally unique. It is a per-cpu variable, and the handler gets called with the interrupted CPU's instance of that variable.