From: Shuah Khan Date: Wed, 6 Jun 2012 16:50:06 +0000 (-0600) Subject: iommu/amd: Fix missing iommu_shutdown initialization in passthrough mode X-Git-Tag: v3.2.24~85 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f17963661759dfde573f9d7993cf5aa5a97057c3;p=pandora-kernel.git iommu/amd: Fix missing iommu_shutdown initialization in passthrough mode commit f2f12b6fc032c7b1419fd6db84e2868b5f05a878 upstream. The iommu_shutdown callback is not initialized when the AMD IOMMU driver runs in passthrough mode. Fix that by moving the callback initialization before the check for passthrough mode. Signed-off-by: Shuah Khan Signed-off-by: Joerg Roedel [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed