On Mon, 2010-07-26 at 22:52 -0400, Rick Ramstetter wrote:
> Hi all,
> 
> Where can I find the code that sets values in lmb.reserved.region[i]? 
> This is in reference to 2.6.27's arch/powerpc/mm/mem.c and
> include/linux/lmb.h
> 
> I'm looking specifically for code that sets lmb_region's region.size
> and region.base.

They come from the reserve map in the device-tree, plus possible
additional calls to lmb_reserve. Do a grep -r lmb_reserve arch/powerpc
and you should find it all.

Cheers,
Ben.


_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to