diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2006-10-12 00:44:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-12 10:37:30 -0400 |
commit | 994bd4f9f5a065ead4a92435fdd928ac7fd33809 (patch) | |
tree | 11e5b123bd5c5319a65ad4732ad3965b815dedbb /arch | |
parent | c25d5180441e344a3368d100c57f0a481c6944f7 (diff) |
[PATCH] x86_64 irq: Properly update vector_irq
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86_64/kernel/io_apic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c index c3cdcab29688..44b55f833875 100644 --- a/arch/x86_64/kernel/io_apic.c +++ b/arch/x86_64/kernel/io_apic.c | |||
@@ -660,7 +660,7 @@ next: | |||
660 | } | 660 | } |
661 | if (old_vector >= 0) { | 661 | if (old_vector >= 0) { |
662 | int old_cpu; | 662 | int old_cpu; |
663 | for_each_cpu_mask(old_cpu, domain) | 663 | for_each_cpu_mask(old_cpu, irq_domain[irq]) |
664 | per_cpu(vector_irq, old_cpu)[old_vector] = -1; | 664 | per_cpu(vector_irq, old_cpu)[old_vector] = -1; |
665 | } | 665 | } |
666 | for_each_cpu_mask(new_cpu, domain) | 666 | for_each_cpu_mask(new_cpu, domain) |