aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/io_apic_32.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-08-19 23:50:32 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-16 10:52:53 -0400
commit7a959cff725872ce9c3a534f10724d7bb2cb3c4a (patch)
tree8624645b19e3f4404ba7ca071dd52d72f870aff6 /arch/x86/kernel/io_apic_32.c
parent497c9a195db918d3f035e8cb3021e5d4d035516e (diff)
x86: add debug info for 32bit sparse_irq
so could figure out bugs where we get an interrupt, but vector_irq is not initialized yet. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/io_apic_32.c')
-rw-r--r--arch/x86/kernel/io_apic_32.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/x86/kernel/io_apic_32.c b/arch/x86/kernel/io_apic_32.c
index ea33d3c74970..3001924bdd36 100644
--- a/arch/x86/kernel/io_apic_32.c
+++ b/arch/x86/kernel/io_apic_32.c
@@ -1114,8 +1114,12 @@ next:
1114 cfg->move_in_progress = 1; 1114 cfg->move_in_progress = 1;
1115 cfg->old_domain = cfg->domain; 1115 cfg->old_domain = cfg->domain;
1116 } 1116 }
1117 for_each_cpu_mask_nr(new_cpu, new_mask) 1117 printk(KERN_DEBUG "assign_irq_vector: irq %d vector %#x cpu ", irq, vector);
1118 per_cpu(vector_irq, new_cpu)[vector] = irq; 1118 for_each_cpu_mask_nr(new_cpu, new_mask) {
1119 per_cpu(vector_irq, new_cpu)[vector] = irq;
1120 printk(KERN_CONT " %d ", new_cpu);
1121 }
1122 printk(KERN_CONT "\n");
1119 cfg->vector = vector; 1123 cfg->vector = vector;
1120 cfg->domain = domain; 1124 cfg->domain = domain;
1121 return 0; 1125 return 0;