Re: Move of_node_to_nid to generic location

From: Michal Simek
Date: Mon Jun 29 2009 - 16:25:10 EST


David Miller wrote:
> From: Grant Likely <grant.likely@xxxxxxxxxxxx>
> Date: Mon, 29 Jun 2009 09:52:44 -0600
>
>> On Mon, Jun 29, 2009 at 3:09 AM, Michal Simek<monstr@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/