From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161488AbWJUQwm (ORCPT ); Sat, 21 Oct 2006 12:52:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S2993133AbWJUQwB (ORCPT ); Sat, 21 Oct 2006 12:52:01 -0400 Received: from ns1.suse.de ([195.135.220.2]:45724 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S2993137AbWJUQvb (ORCPT ); Sat, 21 Oct 2006 12:51:31 -0400 From: Andi Kleen References: <20061021 651.356252000@suse.de> In-Reply-To: <20061021 651.356252000@suse.de> To: Yinghai Lu , patches@x86-64.org, linux-kernel@vger.kernel.org Subject: [PATCH] [4/19] x86_64: typo in __assign_irq_vector when updating pos for vector and offset Message-Id: <20061021165123.D84E313C4D@wotan.suse.de> Date: Sat, 21 Oct 2006 18:51:23 +0200 (CEST) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org From: Yinghai Lu typo with cpu instead of new_cpu Signed-off-by: Yinghai Lu Signed-off-by: Andi Kleen --- arch/x86_64/kernel/io_apic.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: linux/arch/x86_64/kernel/io_apic.c =================================================================== --- linux.orig/arch/x86_64/kernel/io_apic.c +++ linux/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;