[PATCH] x86_64 irq: Properly update vector_irq
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 12 Oct 2006 04:44:46 +0000 (22:44 -0600)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Oct 2006 14:37:30 +0000 (07:37 -0700)
This patch fixes my one line thinko where I was clearing
the vector_irq entries on the wrong cpus.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/io_apic.c

index c3cdcab..44b55f8 100644 (file)
@@ -660,7 +660,7 @@ next:
                }
                if (old_vector >= 0) {
                        int old_cpu;
-                       for_each_cpu_mask(old_cpu, domain)
+                       for_each_cpu_mask(old_cpu, irq_domain[irq])
                                per_cpu(vector_irq, old_cpu)[old_vector] = -1;
                }
                for_each_cpu_mask(new_cpu, domain)