Re: Move of_node_to_nid to generic location

From: Grant Likely
Date: Mon Jun 29 2009 - 11:53:21 EST


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