reg = (cell_t *)get_flat_dt_prop(node, "reg", &l); 
reg = (cell_t *)of_get_flat_dt_prop(node, "reg", &l); 
static int __init early_init_dt_scan_memory(unsigned long node,					    const char *uname, int depth, void *data){	char *type = get_flat_dt_prop(node, "device_type", NULL);	cell_t *reg, *endp;	unsigned long l;	/* We are scanning "memory" nodes only */	if (type == NULL || strcmp(type, "memory") != 0)		return 0;	reg = (cell_t *)get_flat_dt_prop(node, "reg", &l);	if (reg == NULL)		return 0;	endp = reg + (l / sizeof(cell_t));	DBG("memory scan node %s ..., reg size %ld, data: %x %x %x %x, ...\n",	    uname, l, reg[0], reg[1], reg[2], reg[3]);	while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) {		unsigned long base, size;		base = dt_mem_next_cell(dt_root_addr_cells, &reg);		size = dt_mem_next_cell(dt_root_size_cells, &reg);		if (size == 0)			continue;		DBG(" - %lx ,  %lx\n", base, size);		if (iommu_is_off) {			if (base >= 0x80000000ul)				continue;			if ((base + size) > 0x80000000ul)				size = 0x80000000ul - base;		}		lmb_add(base, size);	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/3c726f8dee6f55e96475574e9f645327e461884c/prom.c/buggy/arch/ppc64/kernel/prom.c