Re: [PATCH 4/9] of/flattree: Don't assume HAVE_LMB

2010-02-14 Thread Grant Likely
On Sun, Feb 14, 2010 at 7:00 AM, Michal Simek wrote: > Grant Likely wrote: >> >> From: Jeremy Kerr >> >> We don't always have lmb available, so make arches provide an >> early_init_dt_alloc_memory_arch() to handle the allocation of >> memory in the fdt code. >> >> When we don't have lmb.h include

Re: [PATCH 4/9] of/flattree: Don't assume HAVE_LMB

2010-02-14 Thread Michal Simek
Grant Likely wrote: From: Jeremy Kerr We don't always have lmb available, so make arches provide an early_init_dt_alloc_memory_arch() to handle the allocation of memory in the fdt code. When we don't have lmb.h included, we need asm/page.h for __va. Signed-off-by: Jeremy Kerr Signed-off-by:

Re: [PATCH 4/9] of/flattree: Don't assume HAVE_LMB

2010-02-13 Thread Benjamin Herrenschmidt
On Sat, 2010-02-13 at 09:02 -0700, Grant Likely wrote: > From: Jeremy Kerr > > We don't always have lmb available, so make arches provide an > early_init_dt_alloc_memory_arch() to handle the allocation of > memory in the fdt code. > > When we don't have lmb.h included, we need asm/page.h for __v