aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/irq_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/irq_64.c')
-rw-r--r--arch/x86/kernel/irq_64.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/kernel/irq_64.c b/arch/x86/kernel/irq_64.c
index 4a0a4eb44dcb..b3cf55e325f5 100644
--- a/arch/x86/kernel/irq_64.c
+++ b/arch/x86/kernel/irq_64.c
@@ -224,17 +224,16 @@ void fixup_irqs(cpumask_t map)
224{ 224{
225 unsigned int irq; 225 unsigned int irq;
226 static int warned; 226 static int warned;
227 struct irq_desc *desc;
227 228
228 for (irq = 0; irq < nr_irqs; irq++) { 229 for_each_irq_desc(irq, desc) {
229 cpumask_t mask; 230 cpumask_t mask;
230 int break_affinity = 0; 231 int break_affinity = 0;
231 int set_affinity = 1; 232 int set_affinity = 1;
232 struct irq_desc *desc;
233 233
234 if (irq == 2) 234 if (irq == 2)
235 continue; 235 continue;
236 236
237 desc = irq_to_desc(irq);
238 /* interrupt's are disabled at this point */ 237 /* interrupt's are disabled at this point */
239 spin_lock(&desc->lock); 238 spin_lock(&desc->lock);
240 239