From ef89621e29874792fe695ff578fefbde079f8b73 Mon Sep 17 00:00:00 2001 From: Geoff Levand Date: Thu, 23 Nov 2006 00:46:48 +0100 Subject: [PATCH] --- yaml --- r: 42291 b: refs/heads/master c: e34226d2cd443a67f46fc531e3a6bc6e03843ce2 h: refs/heads/master i: 42289: 37749022599836a14fb769f2b5df7369b5ce5c03 42287: 6acafbd62d7b4a43eec47d27f794ba152b7af71a v: v3 --- [refs] | 2 +- trunk/include/asm-powerpc/irq.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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