Re: Move of_node_to_nid to generic location

Michal Simek
2009-06-29T20:25:05Z

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