/* This function removes a protection domain to the global protection domain list  */
static void del_domain_from_list(struct protection_domain *domain)
/* This function removes a protection domain to the global protection domain list  */
static void del_domain_from_list(struct protection_domain *domain)
{
	unsigned long flags;
	spin_lock_irqsave(&amd_iommu_pd_lock, flags);
	list_del(&domain->list);
	spin_unlock_irqrestore(&amd_iommu_pd_lock, flags);
}