diff options
Diffstat (limited to 'arch/powerpc/kernel')
-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 0715a09a4101..73cf29078fef 100644 --- a/arch/powerpc/kernel/irq.c +++ b/arch/powerpc/kernel/irq.c | |||
@@ -510,6 +510,12 @@ irq_hw_number_t virq_to_hw(unsigned int virq) | |||
510 | } | 510 | } |
511 | EXPORT_SYMBOL_GPL(virq_to_hw); | 511 | EXPORT_SYMBOL_GPL(virq_to_hw); |
512 | 512 | ||
513 | bool virq_is_host(unsigned int virq, struct irq_host *host) | ||
514 | { | ||
515 | return irq_map[virq].host == host; | ||
516 | } | ||
517 | EXPORT_SYMBOL_GPL(virq_is_host); | ||
518 | |||
513 | struct irq_host *virq_to_host(unsigned int virq) | 519 | struct irq_host *virq_to_host(unsigned int virq) |
514 | { | 520 | { |
515 | return irq_map[virq].host; | 521 | return irq_map[virq].host; |