[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <86802c440610151221v2217cb67t354e1ccbcee54b6a@mail.gmail.com>
Date: Sun, 15 Oct 2006 12:21:33 -0700
From: yhlu <yhlu.kernel@...il.com>
To: "Eric W. Biederman" <ebiederm@...ssion.com>,
"Andi Kleen" <ak@....de>
Cc: "linux kernel mailing list" <linux-kernel@...r.kernel.org>,
yhlu.kernel@...il.com
Subject: re: [PATCH] x86_64: typo in __assign_irq_vector when update pos for vector and offset
Please use this one
typo with cpu instead of new_cpu
Signed-off-by: Yinghai Lu <yinghai.lu@....com>
diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c
index 44b55f8..756d097 100644
--- a/arch/x86_64/kernel/io_apic.c
+++ b/arch/x86_64/kernel/io_apic.c
@@ -651,12 +651,12 @@ next:
if (vector == IA32_SYSCALL_VECTOR)
goto next;
for_each_cpu_mask(new_cpu, domain)
- if (per_cpu(vector_irq, cpu)[vector] != -1)
+ if (per_cpu(vector_irq, new_cpu)[vector] != -1)
goto next;
/* Found one! */
for_each_cpu_mask(new_cpu, domain) {
- pos[cpu].vector = vector;
- pos[cpu].offset = offset;
+ pos[new_cpu].vector = vector;
+ pos[new_cpu].offset = offset;
}
if (old_vector >= 0) {
int old_cpu;
View attachment "io_apic_x.diff" of type "text/x-patch" (644 bytes)
Powered by blists - more mailing lists