From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760151AbZF2PxQ (ORCPT ); Mon, 29 Jun 2009 11:53:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758575AbZF2PxC (ORCPT ); Mon, 29 Jun 2009 11:53:02 -0400 Received: from mail-gx0-f226.google.com ([209.85.217.226]:65348 "EHLO mail-gx0-f226.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757584AbZF2PxB (ORCPT ); Mon, 29 Jun 2009 11:53:01 -0400 MIME-Version: 1.0 In-Reply-To: <4A4884D6.3090404@monstr.eu> References: <4A4884D6.3090404@monstr.eu> From: Grant Likely Date: Mon, 29 Jun 2009 09:52:44 -0600 Message-ID: Subject: Re: Move of_node_to_nid to generic location To: monstr@monstr.eu Cc: Arnd Bergmann , benh@kernel.crashing.org, Linux Kernel list , David Miller , linux@arm.linux.org.uk Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 29, 2009 at 3:09 AM, Michal Simek wrote: > Hi All, > > I have on my list one task which needs to be discuss with you. > I look at of_node_to_nid for non NUMA systems. I think we should > move this function to asm-generic/topology.h. I'm in the process of moving a bunch of stuff out of the various prom.c files and into drivers/of/*.c. If this is a common function, then I think it should go there. > This function is used for powerpc, sparc, microblaze (and maybe future arm?) PowerPC uses it. Other than that I don't know. g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.