if (get_flat_dt_prop(node, "linux,iommu-off", NULL) != NULL) 
if (of_get_flat_dt_prop(node, "linux,iommu-off", NULL) != NULL) 
static int __init early_init_dt_scan_chosen(unsigned long node,					    const char *uname, int depth, void *data){	u32 *prop;	unsigned long *lprop;	DBG("search \"chosen\", depth: %d, uname: %s\n", depth, uname);	if (depth != 1 ||	    (strcmp(uname, "chosen") != 0 && strcmp(uname, "chosen@0") != 0))		return 0;	/* get platform type */	prop = (u32 *)get_flat_dt_prop(node, "linux,platform", NULL);	if (prop == NULL)		return 0;#ifdef CONFIG_PPC64	systemcfg->platform = *prop;#else#ifdef CONFIG_PPC_MULTIPLATFORM	_machine = *prop;#endif#endif#ifdef CONFIG_PPC64	/* check if iommu is forced on or off */	if (get_flat_dt_prop(node, "linux,iommu-off", NULL) != NULL)		iommu_is_off = 1;	if (get_flat_dt_prop(node, "linux,iommu-force-on", NULL) != NULL)		iommu_force_on = 1;#endif 	lprop = get_flat_dt_prop(node, "linux,memory-limit", NULL); 	if (lprop) 		memory_limit = *lprop;#ifdef CONFIG_PPC64 	lprop = get_flat_dt_prop(node, "linux,tce-alloc-start", NULL); 	if (lprop) 		tce_alloc_start = *lprop; 	lprop = get_flat_dt_prop(node, "linux,tce-alloc-end", NULL); 	if (lprop) 		tce_alloc_end = *lprop;#endif#ifdef CONFIG_PPC_RTAS	/* To help early debugging via the front panel, we retreive a minimal	 * set of RTAS infos now if available	 */	{		u64 *basep, *entryp;		basep = get_flat_dt_prop(node, "linux,rtas-base", NULL);		entryp = get_flat_dt_prop(node, "linux,rtas-entry", NULL);		prop = get_flat_dt_prop(node, "linux,rtas-size", NULL);		if (basep && entryp && prop) {			rtas.base = *basep;			rtas.entry = *entryp;			rtas.size = *prop;		}	}#endif /* CONFIG_PPC_RTAS */	/* break now */	return 1;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/3c726f8dee6f55e96475574e9f645327e461884c/prom.c/buggy/arch/powerpc/kernel/prom.c