On Wed, 11 May 2011 about 20:58:18 -0000, Benjamin Herrenschmidt wrote: > We keep track of the size of the lowest block of memory and call > setup_initial_memory_limit() only after we've parsed them all >
Good, we lose our sensitivity to device node ordering. > diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c > index 584b398..27475c6 100644 > --- a/arch/powerpc/kernel/prom.c > +++ b/arch/powerpc/kernel/prom.c > @@ -70,6 +70,7 @@ int __initdata iommu_force_on; > unsigned long tce_alloc_start, tce_alloc_end; > u64 ppc64_rma_size; > #endif > +static phys_addr_t first_memblock_size; __initdata (its only referenced by 2 __init functions) Acked-by: Milton Miller <milt...@bga.com> > static int __init early_parse_mem(char *p) > { .. > @@ -507,11 +508,14 @@ void __init early_init_dt_add_memory_arch(u64 base, u64 > size) .. > @@ -708,6 +712,7 @@ void __init early_init_devtree(void *params) _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev