提交 994bd4f9 编写于 作者: E Eric W. Biederman 提交者: 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: NEric W. Biederman <ebiederm@xmission.com>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 c25d5180
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册