]> git.openfabrics.org - ~emulex/infiniband.git/commit
iommu/vt-d: Stop dmar_insert_dev_info() freeing domains on losing race
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 9 Mar 2014 20:11:33 +0000 (13:11 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 24 Mar 2014 14:06:39 +0000 (14:06 +0000)
commitb718cd3d8412edaf02665d29b0cf5ef828675a45
treea4207bd503b4240f6334c4d3238d981131c97681
parent64ae892bfee37c0f982710363c39474218028e33
iommu/vt-d: Stop dmar_insert_dev_info() freeing domains on losing race

By moving this into get_domain_for_dev() we can make dmar_insert_dev_info()
suitable for use with "special" domains such as the si_domain, which
currently use domain_add_dev_info().

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/iommu/intel-iommu.c