iommu/vt-d: Reduce duplicated code to handle virtual machine domains
authorJiang Liu <jiang.liu@linux.intel.com>
Wed, 19 Feb 2014 06:07:28 +0000 (14:07 +0800)
committerJoerg Roedel <joro@8bytes.org>
Tue, 4 Mar 2014 16:51:01 +0000 (17:51 +0100)
commit92d03cc8d0c9bedfa1ab0ac6ee713a1b1f41a901
tree4b74214db52cd5eb7ae9b7e2d3bfaa644467776a
parente85bb5d4d1d5ef55cf4fbb4da5dda67d2bbacc5c
iommu/vt-d: Reduce duplicated code to handle virtual machine domains

Reduce duplicated code to handle virtual machine domains, there's no
functionality changes. It also improves code readability.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/intel-iommu.c