aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/irq.c')
-rw-r--r--arch/x86/kernel/irq.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c
index b8ac3b6cf776..5e7c3e6f8f27 100644
--- a/arch/x86/kernel/irq.c
+++ b/arch/x86/kernel/irq.c
@@ -133,23 +133,15 @@ int show_interrupts(struct seq_file *p, void *v)
133 return 0; 133 return 0;
134 134
135 spin_lock_irqsave(&desc->lock, flags); 135 spin_lock_irqsave(&desc->lock, flags);
136#ifndef CONFIG_SMP
137 any_count = kstat_irqs(i);
138#else
139 for_each_online_cpu(j) 136 for_each_online_cpu(j)
140 any_count |= kstat_irqs_cpu(i, j); 137 any_count |= kstat_irqs_cpu(i, j);
141#endif
142 action = desc->action; 138 action = desc->action;
143 if (!action && !any_count) 139 if (!action && !any_count)
144 goto out; 140 goto out;
145 141
146 seq_printf(p, "%*d: ", prec, i); 142 seq_printf(p, "%*d: ", prec, i);
147#ifndef CONFIG_SMP
148 seq_printf(p, "%10u ", kstat_irqs(i));
149#else
150 for_each_online_cpu(j) 143 for_each_online_cpu(j)
151 seq_printf(p, "%10u ", kstat_irqs_cpu(i, j)); 144 seq_printf(p, "%10u ", kstat_irqs_cpu(i, j));
152#endif
153 seq_printf(p, " %8s", desc->chip->name); 145 seq_printf(p, " %8s", desc->chip->name);
154 seq_printf(p, "-%-8s", desc->name); 146 seq_printf(p, "-%-8s", desc->name);
155 147