prop = (u32 *)get_flat_dt_prop(node, "ibm,ppc-interrupt-server#s", 
prop = (u32 *)of_get_flat_dt_prop(node, "ibm,ppc-interrupt-server#s", 
static int __init early_init_dt_scan_cpus(unsigned long node,					  const char *uname, int depth, void *data){	char *type = get_flat_dt_prop(node, "device_type", NULL);	u32 *prop;	unsigned long size = 0;	/* We are scanning "cpu" nodes only */	if (type == NULL || strcmp(type, "cpu") != 0)		return 0;#ifdef CONFIG_PPC_PSERIES	/* On LPAR, look for the first ibm,pft-size property for the  hash table size	 */	if (systemcfg->platform == PLATFORM_PSERIES_LPAR && ppc64_pft_size == 0) {		u32 *pft_size;		pft_size = get_flat_dt_prop(node, "ibm,pft-size", NULL);		if (pft_size != NULL) {			/* pft_size[0] is the NUMA CEC cookie */			ppc64_pft_size = pft_size[1];		}	}#endif	boot_cpuid = 0;	boot_cpuid_phys = 0;	if (initial_boot_params && initial_boot_params->version >= 2) {		/* version 2 of the kexec param format adds the phys cpuid		 * of booted proc.		 */		boot_cpuid_phys = initial_boot_params->boot_cpuid_phys;	} else {		/* Check if it's the boot-cpu, set it's hw index now */		if (get_flat_dt_prop(node, "linux,boot-cpu", NULL) != NULL) {			prop = get_flat_dt_prop(node, "reg", NULL);			if (prop != NULL)				boot_cpuid_phys = *prop;		}	}	set_hard_smp_processor_id(0, boot_cpuid_phys);#ifdef CONFIG_ALTIVEC	/* Check if we have a VMX and eventually update CPU features */	prop = (u32 *)get_flat_dt_prop(node, "ibm,vmx", &size);	if (prop && (*prop) > 0) {		cur_cpu_spec->cpu_features |= CPU_FTR_ALTIVEC;		cur_cpu_spec->cpu_user_features |= PPC_FEATURE_HAS_ALTIVEC;	}	/* Same goes for Apple's "altivec" property */	prop = (u32 *)get_flat_dt_prop(node, "altivec", NULL);	if (prop) {		cur_cpu_spec->cpu_features |= CPU_FTR_ALTIVEC;		cur_cpu_spec->cpu_user_features |= PPC_FEATURE_HAS_ALTIVEC;	}#endif /* CONFIG_ALTIVEC */#ifdef CONFIG_PPC_PSERIES	/*	 * Check for an SMT capable CPU and set the CPU feature. We do	 * this by looking at the size of the ibm,ppc-interrupt-server#s	 * property	 */	prop = (u32 *)get_flat_dt_prop(node, "ibm,ppc-interrupt-server#s",				       &size);	cur_cpu_spec->cpu_features &= ~CPU_FTR_SMT;	if (prop && ((size / sizeof(u32)) > 1))		cur_cpu_spec->cpu_features |= CPU_FTR_SMT;#endif	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/3c726f8dee6f55e96475574e9f645327e461884c/prom.c/buggy/arch/powerpc/kernel/prom.c