We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 150952f commit f1dd0a8Copy full SHA for f1dd0a8
drivers/iommu/amd_iommu.c
@@ -2189,18 +2189,17 @@ static int attach_device(struct device *dev,
2189
static void __detach_device(struct iommu_dev_data *dev_data)
2190
{
2191
struct protection_domain *domain;
2192
- unsigned long flags;
2193
2194
if (WARN_ON(!dev_data->domain))
2195
return;
2196
2197
domain = dev_data->domain;
2198
2199
- spin_lock_irqsave(&domain->lock, flags);
+ spin_lock(&domain->lock);
2200
2201
do_detach(dev_data);
2202
2203
- spin_unlock_irqrestore(&domain->lock, flags);
+ spin_unlock(&domain->lock);
2204
}
2205
2206
/*
0 commit comments