if (phb->is_dynamic) kfree(phb); 
pcibios_free_controller(phb); 
int pcibios_remove_root_bus(struct pci_controller *phb){	struct pci_bus *b = phb->bus;	struct resource *res;	int rc, i;	res = b->resource[0];	if (!res->flags) {		printk(KERN_ERR "%s: no IO resource for PHB %s\n", __FUNCTION__,				b->name);		return 1;	}	rc = unmap_bus_range(b);	if (rc) {		printk(KERN_ERR "%s: failed to unmap IO on bus %s\n",			__FUNCTION__, b->name);		return 1;	}	if (release_resource(res)) {		printk(KERN_ERR "%s: failed to release IO on bus %s\n",				__FUNCTION__, b->name);		return 1;	}	for (i = 1; i < 3; ++i) {		res = b->resource[i];		if (!res->flags && i == 0) {			printk(KERN_ERR "%s: no MEM resource for PHB %s\n",				__FUNCTION__, b->name);			return 1;		}		if (res->flags && release_resource(res)) {			printk(KERN_ERR			       "%s: failed to release IO %d on bus %s\n",				__FUNCTION__, i, b->name);			return 1;		}	}	list_del(&phb->list_node);	if (phb->is_dynamic)		kfree(phb);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b5166cc252190be80465f3b4f050e4a0310f71af/rtas_pci.c/clean/arch/powerpc/kernel/rtas_pci.c