Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125564
b: refs/heads/master
c: 2abd7e1
h: refs/heads/master
v: v3
  • Loading branch information
Mark McLoughlin authored and Joerg Roedel committed Jan 3, 2009
1 parent 8986482 commit fb63c9b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 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: 58fa7304a2c2bfd46e505c293ef779aa1d9715c2
refs/heads/master: 2abd7e167c1b281f99bb58d302225872bfae9123
5 changes: 5 additions & 0 deletions trunk/drivers/pci/intel-iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1686,6 +1686,11 @@ static void __init iommu_prepare_gfx_mapping(void)
printk(KERN_ERR "IOMMU: mapping reserved region failed\n");
}
}
#else /* !CONFIG_DMAR_GFX_WA */
static inline void iommu_prepare_gfx_mapping(void)
{
return;
}
#endif

#ifdef CONFIG_DMAR_FLOPPY_WA
Expand Down
7 changes: 0 additions & 7 deletions trunk/include/linux/dma_remapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,4 @@ extern void free_dmar_iommu(struct intel_iommu *iommu);

extern int dmar_disabled;

#ifndef CONFIG_DMAR_GFX_WA
static inline void iommu_prepare_gfx_mapping(void)
{
return;
}
#endif /* !CONFIG_DMAR_GFX_WA */

#endif

0 comments on commit fb63c9b

Please sign in to comment.