summaryrefslogtreecommitdiff
path: root/drivers/iommu/amd_iommu_init.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2012-06-12 16:42:43 +0200
committerJoerg Roedel <joerg.roedel@amd.com>2012-07-17 12:17:07 +0200
commit62410eeb40ef355fa47f63886542f4dacef13ba9 (patch)
treef1910faf68afdb3f0d5c621d8f8ebe5f2d69b320 /drivers/iommu/amd_iommu_init.c
parent11ee5ac47b78d7e117c84147596a124ce6421a3a (diff)
iommu/amd: Move unmap_flush message to amd_iommu_init_dma_ops()
The message belongs there anyway, so move it to that function. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu/amd_iommu_init.c')
-rw-r--r--drivers/iommu/amd_iommu_init.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd_iommu_init.c
index b82cf447724e..966d8ac9e147 100644
--- a/drivers/iommu/amd_iommu_init.c
+++ b/drivers/iommu/amd_iommu_init.c
@@ -1702,14 +1702,6 @@ static int __init amd_iommu_init(void)
x86_platform.iommu_shutdown = disable_iommus;
- if (iommu_pass_through)
- goto out;
-
- if (amd_iommu_unmap_flush)
- printk(KERN_INFO "AMD-Vi: IO/TLB flush on unmap enabled\n");
- else
- printk(KERN_INFO "AMD-Vi: Lazy IO/TLB flushing enabled\n");
-
out:
return ret;