iommu/vt-d: Move context-mapping into dmar_insert_dev_info
authorJoerg Roedel <jroedel@suse.de>
Wed, 22 Jul 2015 08:04:36 +0000 (10:04 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 12 Aug 2015 14:23:35 +0000 (16:23 +0200)
commitcc4e2575cc96b1aac910f56e1d7ef45d219b40b2
treeddbf38f7f1ba8d18c07f28b607979fd59f8c0c47
parent76f45fe35c7a54e6fe5539660db2c8cfb23a2972
iommu/vt-d: Move context-mapping into dmar_insert_dev_info

Do the context-mapping of devices from a single place in the
call-path and clean up the other call-sites.

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