diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-12-26 13:10:04 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-27 03:29:21 -0500 |
commit | 8b07cd44511f3aa78dd912cca6493275a6787dc5 (patch) | |
tree | 415a330e87af5baba37157d3e4984a9a563bab19 /kernel/irq | |
parent | 00c23634879062d1c38d60128bf150c394a359e8 (diff) |
sparseirq: do not printk when migrating IRQ descriptors
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>
Diffstat (limited to 'kernel/irq')
-rw-r--r-- | kernel/irq/numa_migrate.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/kernel/irq/numa_migrate.c b/kernel/irq/numa_migrate.c index 089c3746358a..a565ce3a4fb5 100644 --- a/kernel/irq/numa_migrate.c +++ b/kernel/irq/numa_migrate.c | |||
@@ -74,10 +74,8 @@ static struct irq_desc *__real_move_irq_desc(struct irq_desc *old_desc, | |||
74 | 74 | ||
75 | node = cpu_to_node(cpu); | 75 | node = cpu_to_node(cpu); |
76 | desc = kzalloc_node(sizeof(*desc), GFP_ATOMIC, node); | 76 | desc = kzalloc_node(sizeof(*desc), GFP_ATOMIC, node); |
77 | printk(KERN_DEBUG " move irq_desc for %d to cpu %d node %d\n", | ||
78 | irq, cpu, node); | ||
79 | if (!desc) { | 77 | if (!desc) { |
80 | printk(KERN_ERR "can not get new irq_desc for moving\n"); | 78 | printk(KERN_ERR "irq %d: can not get new irq_desc for migration.\n", irq); |
81 | /* still use old one */ | 79 | /* still use old one */ |
82 | desc = old_desc; | 80 | desc = old_desc; |
83 | goto out_unlock; | 81 | goto out_unlock; |
@@ -106,8 +104,6 @@ struct irq_desc *move_irq_desc(struct irq_desc *desc, int cpu) | |||
106 | return desc; | 104 | return desc; |
107 | 105 | ||
108 | old_cpu = desc->cpu; | 106 | old_cpu = desc->cpu; |
109 | printk(KERN_DEBUG | ||
110 | "try to move irq_desc from cpu %d to %d\n", old_cpu, cpu); | ||
111 | if (old_cpu != cpu) { | 107 | if (old_cpu != cpu) { |
112 | node = cpu_to_node(cpu); | 108 | node = cpu_to_node(cpu); |
113 | old_node = cpu_to_node(old_cpu); | 109 | old_node = cpu_to_node(old_cpu); |