if ((long)_prom->chosen <= 0) 
if (!PHANDLE_VALID(_prom->chosen)) 
static void __init prom_init_client_services(unsigned long pp){	unsigned long offset = reloc_offset();	struct prom_t *_prom = PTRRELOC(&prom);	/* Get a handle to the prom entry point before anything else */	_prom->entry = pp;	/* Init default value for phys size */	_prom->root_size_cells = 1;	_prom->root_addr_cells = 2;	/* get a handle for the stdout device */	_prom->chosen = call_prom("finddevice", 1, 1, ADDR("/chosen"));	if ((long)_prom->chosen <= 0)		prom_panic("cannot find chosen"); /* msg won't be printed :( */	/* get device tree root */	_prom->root = call_prom("finddevice", 1, 1, ADDR("/"));	if ((long)_prom->root <= 0)		prom_panic("cannot find device tree root"); /* msg won't be printed :( */}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/1e86d1c648508fd50e6c9960576b87906a7906ad/prom_init.c/buggy/arch/ppc64/kernel/prom_init.c