Skip to content
Commit f2f12b6f authored by Shuah Khan's avatar Shuah Khan Committed by Joerg Roedel
Browse files

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: default avatarShuah Khan <shuah.khan@hp.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent eee53537
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment