aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-09-19 03:12:26 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-16 10:53:11 -0400
commit9d98598d2fc286c8dbcd0b681168639528428db0 (patch)
tree4fecfe8ec04bd71e52af1a822aba0bd187e60c63
parente00585bb7fc3d0b601181b765a254df7ff4ea59b (diff)
sparseirq: remove some debug print out
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Cc: Yinghai Lu <yhlu.kernel@gmail.com> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/kernel/io_apic.c19
-rw-r--r--kernel/irq/handle.c18
2 files changed, 0 insertions, 37 deletions
diff --git a/arch/x86/kernel/io_apic.c b/arch/x86/kernel/io_apic.c
index 6ce5873a406c..01419fdc1d5d 100644
--- a/arch/x86/kernel/io_apic.c
+++ b/arch/x86/kernel/io_apic.c
@@ -277,23 +277,6 @@ static struct irq_cfg *irq_cfg_alloc(unsigned int irq)
277 277
278 spin_unlock_irqrestore(&irq_cfg_lock, flags); 278 spin_unlock_irqrestore(&irq_cfg_lock, flags);
279 279
280 printk(KERN_DEBUG "found new irq_cfg for irq %d\n", cfg->irq);
281#ifdef CONFIG_HAVE_SPARSE_IRQ_DEBUG
282 {
283 /* dump the results */
284 struct irq_cfg *cfg;
285 unsigned long phys;
286 unsigned long bytes = sizeof(struct irq_cfg);
287
288 printk(KERN_DEBUG "=========================== %d\n", irq);
289 printk(KERN_DEBUG "irq_cfg dump after get that for %d\n", irq);
290 for_each_irq_cfg(cfg) {
291 phys = __pa(cfg);
292 printk(KERN_DEBUG "irq_cfg %d ==> [%#lx - %#lx]\n", cfg->irq, phys, phys + bytes);
293 }
294 printk(KERN_DEBUG "===========================\n");
295 }
296#endif
297 return cfg; 280 return cfg;
298} 281}
299#else 282#else
@@ -597,7 +580,6 @@ static void add_pin_to_irq(unsigned int irq, int apic, int pin)
597 cfg->irq_2_pin = entry; 580 cfg->irq_2_pin = entry;
598 entry->apic = apic; 581 entry->apic = apic;
599 entry->pin = pin; 582 entry->pin = pin;
600 printk(KERN_DEBUG " 0 add_pin_to_irq: irq %d --> apic %d pin %d\n", irq, apic, pin);
601 return; 583 return;
602 } 584 }
603 585
@@ -613,7 +595,6 @@ static void add_pin_to_irq(unsigned int irq, int apic, int pin)
613 entry = entry->next; 595 entry = entry->next;
614 entry->apic = apic; 596 entry->apic = apic;
615 entry->pin = pin; 597 entry->pin = pin;
616 printk(KERN_DEBUG " x add_pin_to_irq: irq %d --> apic %d pin %d\n", irq, apic, pin);
617} 598}
618 599
619/* 600/*
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c
index eae69373a9c6..710db0ec97e3 100644
--- a/kernel/irq/handle.c
+++ b/kernel/irq/handle.c
@@ -238,24 +238,6 @@ struct irq_desc *irq_to_desc_alloc(unsigned int irq)
238 238
239 spin_unlock_irqrestore(&sparse_irq_lock, flags); 239 spin_unlock_irqrestore(&sparse_irq_lock, flags);
240 240
241 printk(KERN_DEBUG "found new irq_desc for irq %d\n", desc->irq);
242#ifdef CONFIG_HAVE_SPARSE_IRQ_DEBUG
243 {
244 /* dump the results */
245 struct irq_desc *desc;
246 unsigned long phys;
247 unsigned long bytes = sizeof(struct irq_desc);
248 unsigned int irqx;
249
250 printk(KERN_DEBUG "=========================== %d\n", irq);
251 printk(KERN_DEBUG "irq_desc dump after get that for %d\n", irq);
252 for_each_irq_desc(irqx, desc) {
253 phys = __pa(desc);
254 printk(KERN_DEBUG "irq_desc %d ==> [%#lx - %#lx]\n", irqx, phys, phys + bytes);
255 }
256 printk(KERN_DEBUG "===========================\n");
257 }
258#endif
259 return desc; 241 return desc;
260} 242}
261#else 243#else