Node 0 not necessary for powerpc?

Tejun Heo htejun at gmail.com
Fri Jun 20 00:59:50 EST 2014


On Tue, Jun 10, 2014 at 04:31:57PM -0700, Nishanth Aravamudan wrote:
> > I think what this really wants to do is NODE_DATA(cpu_to_mem(cpu)) and I 
> > thought ppc had the cpu-to-local-memory-node mappings correct?
> 
> Except cpu_to_mem relies on the mapping being defined, but early in
> boot, specifically, it isn't yet (at least not necessarily).

Can't ppc NODE_DATA simply return dummy generic node_data during early
boot?  Populating it with just enough to make early boot work
shouldn't be too hard, right?

Thanks.

-- 
tejun


More information about the Linuxppc-dev mailing list