| commit | 7b9f477f5188e237f52c8a1243fd55615c63064f | [log] [tgz] |
|---|---|---|
| author | Shuah Khan <shuah.khan@hp.com> | Wed Jun 06 10:50:06 2012 -0600 |
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jul 16 09:03:51 2012 -0700 |
| tree | 64840cb00b6a8970fdfe28db06b04e7e6061de93 | |
| parent | 4836ee563d65bb492f907cbe267a5761b9693e4d [diff] |
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 <shuah.khan@hp.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>