Commit 994bd4f9 authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Linus Torvalds

[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: default avatarEric W. Biederman <ebiederm@xmission.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent c25d5180
...@@ -660,7 +660,7 @@ next: ...@@ -660,7 +660,7 @@ next:
} }
if (old_vector >= 0) { if (old_vector >= 0) {
int old_cpu; 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; per_cpu(vector_irq, old_cpu)[old_vector] = -1;
} }
for_each_cpu_mask(new_cpu, domain) for_each_cpu_mask(new_cpu, domain)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment