Skip to content

Commit

Permalink
[PATCH] x86_64 irq: Properly update vector_irq
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric W. Biederman authored and Linus Torvalds committed Oct 12, 2006
1 parent c25d518 commit 994bd4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86_64/kernel/io_apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ static int __assign_irq_vector(int irq, cpumask_t mask, cpumask_t *result)
}
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)
Expand Down

0 comments on commit 994bd4f

Please sign in to comment.