Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932735AbVLBLnv (ORCPT ); Fri, 2 Dec 2005 06:43:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932734AbVLBLnv (ORCPT ); Fri, 2 Dec 2005 06:43:51 -0500 Received: from cantor.suse.de ([195.135.220.2]:22425 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S932735AbVLBLnu (ORCPT ); Fri, 2 Dec 2005 06:43:50 -0500 Date: Fri, 2 Dec 2005 12:43:49 +0100 From: Andi Kleen To: Ravikiran G Thirumalai Cc: Andi Kleen , Andrew Morton , linux-kernel@vger.kernel.org, discuss@x86-64.org, shai@scalex86.org Subject: Re: [patch 1/3] x86_64: Node local PDA -- early cpu_to_node Message-ID: <20051202114349.GL997@wotan.suse.de> References: <20051202081028.GA5312@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051202081028.GA5312@localhost.localdomain> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 612 Lines: 20 > +#ifdef CONFIG_ACPI_NUMA > + /* > + * Setup cpu_to_node using the SRAT lapcis & ACPI MADT table > + * info. > + */ > + for (i = 0; i < NR_CPUS; i++) > + cpu_to_node[i] = apicid_to_node[x86_cpu_to_apicid[i]]; > +#endif This should be in a separate function in srat.c. And are you sure it will work with k8topology.c. Doesn't look like that to me. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/