powerpc/irq: Quieten irq mapping printks
authorAnton Blanchard <anton@samba.org>
Thu, 7 Jul 2011 20:35:38 +0000 (20:35 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 19 Jul 2011 05:13:07 +0000 (15:13 +1000)
HFI creates interrupts each time a window is setup. This results in
a lot of messages in the kernel log buffer:

    irq: irq 199007 on host null mapped to virtual irq 351

This box has over 3500 of them, causing more important kernel
messages to be overwritten. We can get at this information via
debugfs now so we may as well turn it into a pr_debug.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/irq.c

index 164fb6c..346cc4a 100644 (file)
@@ -744,7 +744,7 @@ unsigned int irq_create_mapping(struct irq_host *host,
        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",
+       pr_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;