summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/amd_iommu_init.c
diff options
context:
space:
mode:
authorMark Brown2019-05-20 12:54:21 +0200
committerMark Brown2019-05-20 12:54:21 +0200
commiteceb995e04b74204c73f9dd0ccb19061d5082063 (patch)
tree265d09722dbaaa4a4c97619d763a40d2be954f16 /drivers/iommu/amd_iommu_init.c
parentspi: tegra114: add support for TX and RX trimmers (diff)
parentLinux 5.2-rc1 (diff)
downloadkernel-qcow2-linux-eceb995e04b74204c73f9dd0ccb19061d5082063.tar.gz
kernel-qcow2-linux-eceb995e04b74204c73f9dd0ccb19061d5082063.tar.xz
kernel-qcow2-linux-eceb995e04b74204c73f9dd0ccb19061d5082063.zip
Merge tag 'v5.2-rc1' into spi-5.3
Linux 5.2-rc1
Diffstat (limited to 'drivers/iommu/amd_iommu_init.c')
-rw-r--r--drivers/iommu/amd_iommu_init.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd_iommu_init.c
index ff40ba758cf3..f977df90d2a4 100644
--- a/drivers/iommu/amd_iommu_init.c
+++ b/drivers/iommu/amd_iommu_init.c
@@ -189,12 +189,6 @@ static bool amd_iommu_pc_present __read_mostly;
bool amd_iommu_force_isolation __read_mostly;
/*
- * List of protection domains - used during resume
- */
-LIST_HEAD(amd_iommu_pd_list);
-spinlock_t amd_iommu_pd_lock;
-
-/*
* Pointer to the device table which is shared by all AMD IOMMUs
* it is indexed by the PCI device id or the HT unit id and contains
* information about the domain the device belongs to as well as the
@@ -2526,8 +2520,6 @@ static int __init early_amd_iommu_init(void)
*/
__set_bit(0, amd_iommu_pd_alloc_bitmap);
- spin_lock_init(&amd_iommu_pd_lock);
-
/*
* now the data structures are allocated and basically initialized
* start the real acpi table scan