struct iommu_table *tbl = dn->iommu_table; 
struct pci_dn *pdn = dn->data; struct iommu_table *tbl = pdn->iommu_table; 
void iommu_free_table(struct device_node *dn){	struct iommu_table *tbl = dn->iommu_table;	unsigned long bitmap_sz, i;	unsigned int order;	if (!tbl || !tbl->it_map) {		printk(KERN_ERR "%s: expected TCE map for %s\n", __FUNCTION__,				dn->full_name);		return;	}	/* verify that table contains no entries */	/* it_size is in entries, and we're examining 64 at a time */	for (i = 0; i < (tbl->it_size/64); i++) {		if (tbl->it_map[i] != 0) {			printk(KERN_WARNING "%s: Unexpected TCEs for %s\n",				__FUNCTION__, dn->full_name);			break;		}	}	/* calculate bitmap size in bytes */	bitmap_sz = (tbl->it_size + 7) / 8;	/* free bitmap */	order = get_order(bitmap_sz);	free_pages((unsigned long) tbl->it_map, order);	/* free table */	kfree(tbl);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/1635317facea3094ddf34082cd86797efb1d9f7e/iommu.c/clean/arch/ppc64/kernel/iommu.c