X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fasm-powerpc%2Firq.h;h=46476e9a494ad6d2ec615f562b6a6449b69d4c91;hb=9868e0ec03fd4ac9cb3943e5dae0ad6a14faa5ff;hp=4da41efb1319d7e2053e4cddae43640a55aa3da8;hpb=919251758195919ae3568021bc221e4f8c4b20eb;p=powerpc.git diff --git a/include/asm-powerpc/irq.h b/include/asm-powerpc/irq.h index 4da41efb13..46476e9a49 100644 --- a/include/asm-powerpc/irq.h +++ b/include/asm-powerpc/irq.h @@ -9,7 +9,6 @@ * 2 of the License, or (at your option) any later version. */ -#include #include #include #include @@ -136,6 +135,10 @@ struct irq_map_entry { extern struct irq_map_entry irq_map[NR_IRQS]; +static inline irq_hw_number_t virq_to_hw(unsigned int virq) +{ + return irq_map[virq].hwirq; +} /** * irq_alloc_host - Allocate a new irq_host data structure @@ -826,7 +829,7 @@ extern struct thread_info *softirq_ctx[NR_CPUS]; extern void irq_ctx_init(void); extern void call_do_softirq(struct thread_info *tp); -extern int call_handle_irq(int irq, void *p1, void *p2, +extern int call_handle_irq(int irq, void *p1, struct thread_info *tp, void *func); #else #define irq_ctx_init()