diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/irq.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index b74b0fd764b2..0a769893c5c3 100644 --- a/arch/powerpc/kernel/irq.c +++ b/arch/powerpc/kernel/irq.c | |||
@@ -411,6 +411,12 @@ struct irq_map_entry irq_map[NR_IRQS]; | |||
411 | static unsigned int irq_virq_count = NR_IRQS; | 411 | static unsigned int irq_virq_count = NR_IRQS; |
412 | static struct irq_host *irq_default_host; | 412 | static struct irq_host *irq_default_host; |
413 | 413 | ||
414 | irq_hw_number_t virq_to_hw(unsigned int virq) | ||
415 | { | ||
416 | return irq_map[virq].hwirq; | ||
417 | } | ||
418 | EXPORT_SYMBOL_GPL(virq_to_hw); | ||
419 | |||
414 | struct irq_host *irq_alloc_host(unsigned int revmap_type, | 420 | struct irq_host *irq_alloc_host(unsigned int revmap_type, |
415 | unsigned int revmap_arg, | 421 | unsigned int revmap_arg, |
416 | struct irq_host_ops *ops, | 422 | struct irq_host_ops *ops, |