commit | f2f12b6fc032c7b1419fd6db84e2868b5f05a878 | [log] [tgz] |
---|---|---|
author | Shuah Khan <shuah.khan@hp.com> | Wed Jun 06 10:50:06 2012 -0600 |
committer | Joerg Roedel <joerg.roedel@amd.com> | Thu Jun 07 12:11:21 2012 +0200 |
tree | 930c98722adb84eabf64830a2192efe7a31155bc | |
parent | eee53537c476c947bf7faa1c916d2f5a0ae8ec93 [diff] |
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 <shuah.khan@hp.com> Cc: stable@vger.kernel.org Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>