mydn = dn = pci_device_to_OF_node(dev); 
if (!dev->bus->self) { DBG(" --> first child, no bridge. Allocating iommu table.\n"); tbl = kmalloc(sizeof(struct iommu_table), GFP_KERNEL); iommu_table_setparms(PCI_DN(dn)->phb, dn, tbl); PCI_DN(mydn)->iommu_table = iommu_init_table(tbl);  return; }  /* If this device is further down the bus tree, search upwards until * an already allocated iommu table is found and use that. */ 
static void iommu_dev_setup_pSeries(struct pci_dev *dev){	struct device_node *dn, *mydn;	DBG("iommu_dev_setup_pSeries, dev %p (%s)\n", dev, dev->pretty_name);	/* Now copy the iommu_table ptr from the bus device down to the	 * pci device_node.  This means get_iommu_table() won't need to search	 * up the device tree to find it.	 */	mydn = dn = pci_device_to_OF_node(dev);	while (dn && dn->data && PCI_DN(dn)->iommu_table == NULL)		dn = dn->parent;	if (dn && dn->data) {		PCI_DN(mydn)->iommu_table = PCI_DN(dn)->iommu_table;	} else {		DBG("iommu_dev_setup_pSeries, dev %p (%s) has no iommu table\n", dev, dev->pretty_name);	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/3c2822ccb1f8cc96fc006aa82e68e1944290014a/pSeries_iommu.c/clean/arch/ppc64/kernel/pSeries_iommu.c