diff --git a/[refs] b/[refs] index 6a1cb869a2b6..d7c4710be492 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 897f112bb42ed9e220ce441e7e52aba3a144a7d6 +refs/heads/master: e34226d2cd443a67f46fc531e3a6bc6e03843ce2 diff --git a/trunk/include/asm-powerpc/irq.h b/trunk/include/asm-powerpc/irq.h index f960f5346f40..46476e9a494a 100644 --- a/trunk/include/asm-powerpc/irq.h +++ b/trunk/include/asm-powerpc/irq.h @@ -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