]> err.no Git - linux-2.6/blobdiff - include/asm-powerpc/irq.h
Pull button into test branch
[linux-2.6] / include / asm-powerpc / irq.h
index 89ed545b446b3ff0cf24b2ac511a8fe566a816c1..46476e9a494ad6d2ec615f562b6a6449b69d4c91 100644 (file)
@@ -135,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
@@ -825,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()