Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158085
b: refs/heads/master
c: 4751a95
h: refs/heads/master
i:
  158083: 99fdba1
v: v3
  • Loading branch information
Joerg Roedel committed Sep 3, 2009
1 parent 2038b07 commit e4a0a28
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a1ca331c8aa75cd58fdf685e2e8745e1d3ec5c8f
refs/heads/master: 4751a95134e05f1172131d2001c6991d671fa58c
8 changes: 7 additions & 1 deletion trunk/arch/x86/kernel/amd_iommu_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1242,12 +1242,18 @@ int __init amd_iommu_init(void)
if (ret)
goto free;

ret = amd_iommu_init_dma_ops();
if (iommu_pass_through)
ret = amd_iommu_init_passthrough();
else
ret = amd_iommu_init_dma_ops();
if (ret)
goto free;

enable_iommus();

if (iommu_pass_through)
goto out;

printk(KERN_INFO "AMD IOMMU: device isolation ");
if (amd_iommu_isolate)
printk("enabled\n");
Expand Down

0 comments on commit e4a0a28

Please sign in to comment.