]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Calculate translation in domain_context_mapping_one
authorJoerg Roedel <jroedel@suse.de>
Tue, 21 Jul 2015 12:45:31 +0000 (14:45 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 12 Aug 2015 14:23:33 +0000 (16:23 +0200)
commitec535116a3fe74147bd204a0ce3ea9789d72ad25
tree8ac01d470f6e64e1b39b5856d84a6234161b13ae
parent8eb8a5b2ce3a3d7c74e456674bcdfbac11e3c5ec
iommu/vt-d: Calculate translation in domain_context_mapping_one

There is no reason to pass the translation type through
multiple layers. It can also be determined in the
domain_context_mapping_one function directly.

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