iommu/vt-d: Avoid duplicate device_domain_info structures
authorJoerg Roedel <jroedel@suse.de>
Thu, 23 Jul 2015 16:37:13 +0000 (18:37 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 12 Aug 2015 14:23:37 +0000 (16:23 +0200)
commitf303e50766298feac17c8715e29ecd14b2c12680
tree1b4c3dcff85a489251f17e04c2fb4dbc125f70f1
parent08a7f456a759e971caf0cc13987a963de2b0ae7c
iommu/vt-d: Avoid duplicate device_domain_info structures

When a 'struct device_domain_info' is created as an alias
for another device, this struct will not be re-used when the
real device is encountered. Fix that to avoid duplicate
device_domain_info structures being added.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c