Re: Move of_node_to_nid to generic location

From: Arnd Bergmann
Date: Mon Jun 29 2009 - 12:37:19 EST


On Monday 29 June 2009, Grant Likely wrote:
> 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.

I agree, it fits better into one of the 'of' headers than the topology
header. Maybe include/linux/of_device.h or include/linux/of.h?

Arnd <><
--
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/