Hi Yinghai, On Thu, 16 Sep 2010 00:20:36 -0700 Yinghai Lu <yinghai@xxxxxxxxxx> wrote: > > From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> I did not write this patch ... > @@ -249,9 +249,8 @@ static void arm_memory_present(void) > static void arm_memory_present(void) > { > struct memblock_region *reg; > - int i; > > - for_each_memblock(memory, reg) { > + for_each_memblock(memory, reg) > memory_present(0, memblock_region_base_pfn(reg), > memblock_region_end_pfn(reg)); > } That looks good (but I have not tested it). Thanks -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx http://www.canb.auug.org.au/~sfr/
Attachment:
pgp2nHARtKG4f.pgp
Description: PGP signature