diff options
-rw-r--r-- | arch/x86/kernel/amd_iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c index b97f2f1c449a..0c0425436a73 100644 --- a/arch/x86/kernel/amd_iommu.c +++ b/arch/x86/kernel/amd_iommu.c | |||
@@ -2298,7 +2298,7 @@ static void cleanup_domain(struct protection_domain *domain) | |||
2298 | list_for_each_entry_safe(dev_data, next, &domain->dev_list, list) { | 2298 | list_for_each_entry_safe(dev_data, next, &domain->dev_list, list) { |
2299 | struct device *dev = dev_data->dev; | 2299 | struct device *dev = dev_data->dev; |
2300 | 2300 | ||
2301 | do_detach(dev); | 2301 | __detach_device(dev); |
2302 | atomic_set(&dev_data->bind, 0); | 2302 | atomic_set(&dev_data->bind, 0); |
2303 | } | 2303 | } |
2304 | 2304 | ||