Skip to contentSkip to conversation

powerpc/irq: Quieten irq mapping printks

PATCH New Anton Blanchard 1 participant 1 message Jul 8, 2011 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/irq: Quieten irq mapping printks

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.

---

arch/powerpc/kernel/irq.c +1 -1
Index: linux-powerpc/arch/powerpc/kernel/irq.c
===================================================================
@@ -744,7 +744,7 @@ unsigned int irq_create_mapping(struct i
 	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;