if ((long)u3 <= 0) 
if (!PHANDLE_VALID(u3)) 
static void __init fixup_device_tree(void){	unsigned long offset = reloc_offset();	phandle u3, i2c, mpic;	u32 u3_rev;	u32 interrupts[2];	u32 parent;	/* Some G5s have a missing interrupt definition, fix it up here */	u3 = call_prom("finddevice", 1, 1, ADDR("/u3@0,f8000000"));	if ((long)u3 <= 0)		return;	i2c = call_prom("finddevice", 1, 1, ADDR("/u3@0,f8000000/i2c@f8001000"));	if ((long)i2c <= 0)		return;	mpic = call_prom("finddevice", 1, 1, ADDR("/u3@0,f8000000/mpic@f8040000"));	if ((long)mpic <= 0)		return;	/* check if proper rev of u3 */	if (prom_getprop(u3, "device-rev", &u3_rev, sizeof(u3_rev)) <= 0)		return;	if (u3_rev != 0x35)		return;	/* does it need fixup ? */	if (prom_getproplen(i2c, "interrupts") > 0)		return;	/* interrupt on this revision of u3 is number 0 and level */	interrupts[0] = 0;	interrupts[1] = 1;	prom_setprop(i2c, "interrupts", &interrupts, sizeof(interrupts));	parent = (u32)mpic;	prom_setprop(i2c, "interrupt-parent", &parent, sizeof(parent));}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/1e86d1c648508fd50e6c9960576b87906a7906ad/prom_init.c/clean/arch/ppc64/kernel/prom_init.c