diff options
Diffstat (limited to 'arch')
-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 42c8ed6ed528..c2b84c64db20 100644 --- a/arch/powerpc/kernel/irq.c +++ b/arch/powerpc/kernel/irq.c | |||
@@ -412,6 +412,12 @@ struct irq_map_entry irq_map[NR_IRQS]; | |||
412 | static unsigned int irq_virq_count = NR_IRQS; | 412 | static unsigned int irq_virq_count = NR_IRQS; |
413 | static struct irq_host *irq_default_host; | 413 | static struct irq_host *irq_default_host; |
414 | 414 | ||
415 | irq_hw_number_t virq_to_hw(unsigned int virq) | ||
416 | { | ||
417 | return irq_map[virq].hwirq; | ||
418 | } | ||
419 | EXPORT_SYMBOL_GPL(virq_to_hw); | ||
420 | |||
415 | struct irq_host *irq_alloc_host(unsigned int revmap_type, | 421 | struct irq_host *irq_alloc_host(unsigned int revmap_type, |
416 | unsigned int revmap_arg, | 422 | unsigned int revmap_arg, |
417 | struct irq_host_ops *ops, | 423 | struct irq_host_ops *ops, |