diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2011-06-09 12:24:45 +0200 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2011-06-14 12:49:57 +0200 |
commit | 8fa5f802abf3cd374b5f07418cea72c5d9d204cc (patch) | |
tree | 40ab1352de8ac21c061e9bae524ecbe5249e1c9a /arch/x86/include | |
parent | 39c555460cbc6d35656878c89d4664fbd6c81551 (diff) |
x86/amd-iommu: Introduce global dev_data_list
This list keeps all allocated iommu_dev_data structs in a
list together. This is needed for instances that have no
associated device.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/amd_iommu_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/amd_iommu_types.h b/arch/x86/include/asm/amd_iommu_types.h index 4c998299541..35520e31c1b 100644 --- a/arch/x86/include/asm/amd_iommu_types.h +++ b/arch/x86/include/asm/amd_iommu_types.h @@ -310,6 +310,7 @@ struct protection_domain { */ struct iommu_dev_data { struct list_head list; /* For domain->dev_list */ + struct list_head dev_data_list; /* For global dev_data_list */ struct device *dev; /* Device this data belong to */ struct device *alias; /* The Alias Device */ struct protection_domain *domain; /* Domain the device is bound to */ |