diff options
author | Mark McLoughlin <markmc@redhat.com> | 2008-11-20 10:49:50 -0500 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2009-01-03 05:57:35 -0500 |
commit | 2abd7e167c1b281f99bb58d302225872bfae9123 (patch) | |
tree | f4583028e1f80d31b983004ef82269fe50358c7f /include | |
parent | 58fa7304a2c2bfd46e505c293ef779aa1d9715c2 (diff) |
intel-iommu: move iommu_prepare_gfx_mapping() out of dma_remapping.h
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/dma_remapping.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/dma_remapping.h b/include/linux/dma_remapping.h index 4ef5f6bc0d68..7799a85614c1 100644 --- a/include/linux/dma_remapping.h +++ b/include/linux/dma_remapping.h | |||
@@ -20,11 +20,4 @@ extern void free_dmar_iommu(struct intel_iommu *iommu); | |||
20 | 20 | ||
21 | extern int dmar_disabled; | 21 | extern int dmar_disabled; |
22 | 22 | ||
23 | #ifndef CONFIG_DMAR_GFX_WA | ||
24 | static inline void iommu_prepare_gfx_mapping(void) | ||
25 | { | ||
26 | return; | ||
27 | } | ||
28 | #endif /* !CONFIG_DMAR_GFX_WA */ | ||
29 | |||
30 | #endif | 23 | #endif |