]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sparseirq: do not printk when migrating IRQ descriptors
authorIngo Molnar <mingo@elte.hu>
Fri, 26 Dec 2008 18:10:04 +0000 (19:10 +0100)
committerIngo Molnar <mingo@elte.hu>
Sat, 27 Dec 2008 08:29:21 +0000 (09:29 +0100)
Impact: reduce printk noise

There were a couple of leftover KERN_DEBUG debugging printks, remove
them. Also clarify an error message.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/irq/numa_migrate.c

index 089c3746358a1cb39c01863ce8ba095c34c88973..a565ce3a4fb5760e767114af6fe2d86b780ce5d4 100644 (file)
@@ -74,10 +74,8 @@ static struct irq_desc *__real_move_irq_desc(struct irq_desc *old_desc,
 
        node = cpu_to_node(cpu);
        desc = kzalloc_node(sizeof(*desc), GFP_ATOMIC, node);
-       printk(KERN_DEBUG "  move irq_desc for %d to cpu %d node %d\n",
-                irq, cpu, node);
        if (!desc) {
-               printk(KERN_ERR "can not get new irq_desc for moving\n");
+               printk(KERN_ERR "irq %d: can not get new irq_desc for migration.\n", irq);
                /* still use old one */
                desc = old_desc;
                goto out_unlock;
@@ -106,8 +104,6 @@ struct irq_desc *move_irq_desc(struct irq_desc *desc, int cpu)
                return desc;
 
        old_cpu = desc->cpu;
-       printk(KERN_DEBUG
-                "try to move irq_desc from cpu %d to %d\n", old_cpu, cpu);
        if (old_cpu != cpu) {
                node = cpu_to_node(cpu);
                old_node = cpu_to_node(old_cpu);