Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331533
b: refs/heads/master
c: c18d238
h: refs/heads/master
i:
  331531: af1c471
v: v3
  • Loading branch information
Joerg Roedel committed Sep 28, 2012
1 parent edaddd3 commit bc96cff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d04e0ba3432e3fa68bd779330e0f79a9d979bc5f
refs/heads/master: c18d2388170132ce015475f1fdab272b62c1e2da
5 changes: 5 additions & 0 deletions trunk/drivers/iommu/irq_remapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ early_param("intremap", setup_irqremap);
void __init setup_irq_remapping_ops(void)
{
remap_ops = &intel_irq_remap_ops;

#ifdef CONFIG_AMD_IOMMU
if (amd_iommu_irq_ops.prepare() == 0)
remap_ops = &amd_iommu_irq_ops;
#endif
}

int irq_remapping_supported(void)
Expand Down

0 comments on commit bc96cff

Please sign in to comment.