public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michal Simek <monstr@monstr.eu>
To: David Miller <davem@davemloft.net>
Cc: grant.likely@secretlab.ca, arnd@arndb.de,
	benh@kernel.crashing.org, linux-kernel@vger.kernel.org,
	linux@arm.linux.org.uk
Subject: Re: Move of_node_to_nid to generic location
Date: Mon, 29 Jun 2009 22:24:54 +0200	[thread overview]
Message-ID: <4A492316.4030502@monstr.eu> (raw)
In-Reply-To: <20090629.131445.77994386.davem@davemloft.net>

David Miller wrote:
> From: Grant Likely <grant.likely@secretlab.ca>
> Date: Mon, 29 Jun 2009 09:52:44 -0600
> 
>> On Mon, Jun 29, 2009 at 3:09 AM, Michal Simek<monstr@monstr.eu> wrote:
>>> This function is used for powerpc, sparc, microblaze (and maybe future arm?)
>> PowerPC uses it.  Other than that I don't know.
> 
> Sparc64 definitely uses it.

of_node_nid is called from of_device_register function and could be used by all "fdt" arch.
Anyway I think that we found a solution for it.
Grant can you please incorporate this changes to your patches (just move implementation for non NUMA
systems)?
IMHO of_device.h is the best one.

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854

      reply	other threads:[~2009-06-29 20:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-29  9:09 Move of_node_to_nid to generic location Michal Simek
2009-06-29 15:52 ` Grant Likely
2009-06-29 16:36   ` Arnd Bergmann
2009-06-29 20:14   ` David Miller
2009-06-29 20:24     ` Michal Simek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A492316.4030502@monstr.eu \
    --to=monstr@monstr.eu \
    --cc=arnd@arndb.de \
    --cc=benh@kernel.crashing.org \
    --cc=davem@davemloft.net \
    --cc=grant.likely@secretlab.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox