X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Flinux%2Firq.h;h=4669be08061799641263078c61297293f3643eb7;hb=b019e57321f3e006c0ec7a54f13efc377bcb6451;hp=efc88538b2bae91a854e9bf3fbffc4832c77d7e4;hpb=1ed4395035a6791ebbbf618429a58ab9c207cc83;p=~andy%2Flinux diff --git a/include/linux/irq.h b/include/linux/irq.h index efc88538b2b..4669be08061 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h @@ -339,6 +339,13 @@ extern void __set_irq_handler(unsigned int irq, irq_flow_handler_t handle, int is_chained, const char *name); +/* caller has locked the irq_desc and both params are valid */ +static inline void __set_irq_handler_unlocked(int irq, + irq_flow_handler_t handler) +{ + irq_desc[irq].handle_irq = handler; +} + /* * Set a highlevel flow handler for a given IRQ: */