max_mapnr = num_physpages; 
max_mapnr = max_pfn; 
void __init mem_init(void){#ifdef CONFIG_NEED_MULTIPLE_NODES	int nid;#endif	pg_data_t *pgdat;	unsigned long i;	struct page *page;	unsigned long reservedpages = 0, codesize, initsize, datasize, bsssize;	num_physpages = max_pfn;	/* RAM is assumed contiguous */	high_memory = (void *) __va(max_low_pfn * PAGE_SIZE);#ifdef CONFIG_NEED_MULTIPLE_NODES        for_each_online_node(nid) {		if (NODE_DATA(nid)->node_spanned_pages != 0) {			printk("freeing bootmem node %x\n", nid);			totalram_pages +=				free_all_bootmem_node(NODE_DATA(nid));		}	}#else	max_mapnr = num_physpages;	totalram_pages += free_all_bootmem();#endif	for_each_pgdat(pgdat) {		for (i = 0; i < pgdat->node_spanned_pages; i++) {			page = pgdat_page_nr(pgdat, i);			if (PageReserved(page))				reservedpages++;		}	}	codesize = (unsigned long)&_sdata - (unsigned long)&_stext;	datasize = (unsigned long)&_edata - (unsigned long)&_sdata;	initsize = (unsigned long)&__init_end - (unsigned long)&__init_begin;	bsssize = (unsigned long)&__bss_stop - (unsigned long)&__bss_start;#ifdef CONFIG_HIGHMEM	{		unsigned long pfn, highmem_mapnr;		highmem_mapnr = total_lowmem >> PAGE_SHIFT;		for (pfn = highmem_mapnr; pfn < max_mapnr; ++pfn) {			struct page *page = pfn_to_page(pfn);			ClearPageReserved(page);			set_page_count(page, 1);			__free_page(page);			totalhigh_pages++;		}		totalram_pages += totalhigh_pages;		printk(KERN_INFO "High memory: %luk\n",		       totalhigh_pages << (PAGE_SHIFT-10));	}#endif /* CONFIG_HIGHMEM */	printk(KERN_INFO "Memory: %luk/%luk available (%luk kernel code, "	       "%luk reserved, %luk data, %luk bss, %luk init)\n",		(unsigned long)nr_free_pages() << (PAGE_SHIFT-10),		num_physpages << (PAGE_SHIFT-10),		codesize >> 10,		reservedpages << (PAGE_SHIFT-10),		datasize >> 10,		bsssize >> 10,		initsize >> 10);	mem_init_done = 1;	/* Initialize the vDSO */	vdso_init();}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/fb6d73d3014babb69f5cc2d1d78b31e9d09fc5df/mem.c/clean/arch/powerpc/mm/mem.c