/* calgary_init_bitmap_from_tce_table(): Funtion for kdump case. In the second/kdump kernel initialize the bitmap based on the tce table entries obtained from first kernel  */
static void calgary_init_bitmap_from_tce_table(struct iommu_table *tbl)
/* calgary_init_bitmap_from_tce_table(): Funtion for kdump case. In the second/kdump kernel initialize the bitmap based on the tce table entries obtained from first kernel  */
static void calgary_init_bitmap_from_tce_table(struct iommu_table *tbl)
{
	u64 *tp;
	unsigned int index;
	tp = ((u64 *)tbl->it_base);
	for (index = 0 ; index < tbl->it_size; index++) {
		if (*tp != 0x0)
			set_bit(index, tbl->it_map);
		tp++;
	}
}