/* If hash size wasn't obtained above, we calculate it now based on * the total RAM size */ if (ppc64_pft_size == 0) { unsigned long rnd_mem_size, pteg_count;  /* round mem_size up to next power of 2 */ rnd_mem_size = 1UL << __ilog2(systemcfg->physicalMemorySize); if (rnd_mem_size < systemcfg->physicalMemorySize) rnd_mem_size <<= 1;  /* # pages / 2 */ pteg_count = max(rnd_mem_size >> (12 + 1), 1UL << 11);  ppc64_pft_size = __ilog2(pteg_count << 7); }  DBG("Hash pftSize: %x\n", (int)ppc64_pft_size); 
void __init early_init_devtree(void *params){	DBG(" -> early_init_devtree()\n");	/* Setup flat device-tree pointer */	initial_boot_params = params;	/* By default, hash size is not set */	ppc64_pft_size = 0;	/* Retreive various informations from the /chosen node of the	 * device-tree, including the platform type, initrd location and	 * size, TCE reserve, and more ...	 */	scan_flat_dt(early_init_dt_scan_chosen, NULL);	/* Scan memory nodes and rebuild LMBs */	lmb_init();	scan_flat_dt(early_init_dt_scan_root, NULL);	scan_flat_dt(early_init_dt_scan_memory, NULL);	lmb_enforce_memory_limit(memory_limit);	lmb_analyze();	systemcfg->physicalMemorySize = lmb_phys_mem_size();	lmb_reserve(0, __pa(klimit));	DBG("Phys. mem: %lx\n", systemcfg->physicalMemorySize);	/* Reserve LMB regions used by kernel, initrd, dt, etc... */	early_reserve_mem();	DBG("Scanning CPUs ...\n");	/* Retreive hash table size from flattened tree plus other	 * CPU related informations (altivec support, boot CPU ID, ...)	 */	scan_flat_dt(early_init_dt_scan_cpus, NULL);	/* If hash size wasn't obtained above, we calculate it now based on	 * the total RAM size	 */	if (ppc64_pft_size == 0) {		unsigned long rnd_mem_size, pteg_count;		/* round mem_size up to next power of 2 */		rnd_mem_size = 1UL << __ilog2(systemcfg->physicalMemorySize);		if (rnd_mem_size < systemcfg->physicalMemorySize)			rnd_mem_size <<= 1;		/* # pages / 2 */		pteg_count = max(rnd_mem_size >> (12 + 1), 1UL << 11);		ppc64_pft_size = __ilog2(pteg_count << 7);	}	DBG("Hash pftSize: %x\n", (int)ppc64_pft_size);	DBG(" <- early_init_devtree()\n");}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/3c726f8dee6f55e96475574e9f645327e461884c/prom.c/buggy/arch/ppc64/kernel/prom.c