intel-iommu: Add iommu_should_identity_map() function
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 4 Jul 2009 09:55:41 +0000 (10:55 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 4 Jul 2009 09:55:41 +0000 (10:55 +0100)
commit40e4aa34324bff3938a900014254f88943d05e15
tree755ff279d80c99a915328b23c91d4c81dee874a7
parent1b7bc0a1618b4de1e6f55c6d95b790f4ab6fcd9e
intel-iommu: Add iommu_should_identity_map() function

We do this twice, and it's about to get more complicated. This makes the
code slightly clearer about what it's doing, too.

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