/* Reads the device exclusion range from ACPI and initialize IOMMU with it  */
static void __init set_device_exclusion_range(u16 devid, struct ivmd_header *m)
/* Reads the device exclusion range from ACPI and initialize IOMMU with it  */
static void __init set_device_exclusion_range(u16 devid, struct ivmd_header *m)
{
	struct amd_iommu *iommu = amd_iommu_rlookup_table[devid];
	if (!(m->flags & IVMD_FLAG_EXCL_RANGE))
		return;
	if (iommu) {
		set_dev_entry_bit(m->devid, DEV_ENTRY_EX);
		iommu->exclusion_start = m->range_start;
		iommu->exclusion_length = m->range_length;
	}
}