]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/kernel/irq.c
powerpc: Print information about mapping hw irqs to virtual irqs
[linux-2.6-omap-h63xx.git] / arch / powerpc / kernel / irq.c
index 5576147e57b63d5e7c54c359e31fbdf71b2ca5dd..8c1a4966867e2b40de5597b056c88a68d6d06e3b 100644 (file)
@@ -672,11 +672,13 @@ unsigned int irq_create_mapping(struct irq_host *host,
                        return NO_IRQ;
                }
        }
-       pr_debug("irq: -> obtained virq %d\n", virq);
 
        if (irq_setup_virq(host, virq, hwirq))
                return NO_IRQ;
 
+       printk(KERN_DEBUG "irq: irq %lu on host %s mapped to virtual irq %u\n",
+               hwirq, host->of_node ? host->of_node->full_name : "null", virq);
+
        return virq;
 }
 EXPORT_SYMBOL_GPL(irq_create_mapping);