for (i=0; i < lmb.reserved.cnt; i++) { unsigned long base = lmb.reserved.region[i].base; unsigned long size = lmb.reserved.region[i].size; 
for (i=0; i < lmb.reserved.cnt; i++) reserve_bootmem(lmb_start_pfn(&lmb.reserved, i), lmb_size_bytes(&lmb.reserved, i)); 
void __init do_init_bootmem(void){	unsigned long i;	unsigned long start, bootmap_pages;	unsigned long total_pages = lmb_end_of_DRAM() >> PAGE_SHIFT;	int boot_mapsize;	/*	 * Find an area to use for the bootmem bitmap.  Calculate the size of	 * bitmap required as (Total Memory) / PAGE_SIZE / BITS_PER_BYTE.	 * Add 1 additional page in case the address isn't page-aligned.	 */	bootmap_pages = bootmem_bootmap_pages(total_pages);	start = lmb_alloc(bootmap_pages<<PAGE_SHIFT, PAGE_SIZE);	BUG_ON(!start);	boot_mapsize = init_bootmem(start >> PAGE_SHIFT, total_pages);	max_pfn = max_low_pfn;	/* Add all physical memory to the bootmem map, mark each area	 * present.	 */	for (i=0; i < lmb.memory.cnt; i++) {		unsigned long base, size;		unsigned long start_pfn, end_pfn;		base = lmb.memory.region[i].base;		size = lmb.memory.region[i].size;		start_pfn = base >> PAGE_SHIFT;		end_pfn = start_pfn + (size >> PAGE_SHIFT);		memory_present(0, start_pfn, end_pfn);		free_bootmem(base, size);	}	/* reserve the sections we're already using */	for (i=0; i < lmb.reserved.cnt; i++) {		unsigned long base = lmb.reserved.region[i].base;		unsigned long size = lmb.reserved.region[i].size;		reserve_bootmem(base, size);	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/802f192e4a600f7ef84ca25c8b818c8830acef5a/init.c/buggy/arch/ppc64/mm/init.c