From: Eric W. Biederman Date: Thu, 12 Oct 2006 04:44:46 +0000 (-0600) Subject: [PATCH] x86_64 irq: Properly update vector_irq X-Git-Tag: v2.6.19-rc2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=994bd4f9f5a065ead4a92435fdd928ac7fd33809;p=profile%2Fivi%2Fkernel-x86-ivi.git [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 Signed-off-by: Linus Torvalds --- diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c index c3cdcab..44b55f8 100644 --- a/arch/x86_64/kernel/io_apic.c +++ b/arch/x86_64/kernel/io_apic.c @@ -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)