amd-iommu: resume cleanup
commit6a047d8b9efc4b7d0c57ca4835f7e519e5c90d3f
authorChris Wright <chrisw@sous-sol.org>
Tue, 16 Jun 2009 07:01:37 +0000 (16 03:01 -0400)
committerJoerg Roedel <joerg.roedel@amd.com>
Tue, 16 Jun 2009 08:19:16 +0000 (16 10:19 +0200)
tree3d6d4b1f79a0d542b1c481dd1310a3bbf92b3bc9
parent09067207f6eacb7f00c8f7f0623c3696083ce042
amd-iommu: resume cleanup

Now that enable_iommus() will call iommu_disable() for each iommu,
the call to disable_iommus() during resume is redundant.  Also, the order
for an invalidation is to invalidate device table entries first, then
domain translations.

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/kernel/amd_iommu_init.c