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.5-rc7~43^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2f12b6fc032c7b1419fd6db84e2868b5f05a878;p=pandora-kernel.git iommu/amd: Fix missing iommu_shutdown initialization in passthrough mode 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 Cc: stable@vger.kernel.org Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed