Re: Move of_node_to_nid to generic location

Grant Likely
2009-06-29T15:53:16Z

On Mon, Jun 29, 2009 at 3:09 AM, Michal Simek<monstr@monstr.eu> 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.