diff options
Diffstat (limited to 'drivers/pci/dma_remapping.h')
-rw-r--r-- | drivers/pci/dma_remapping.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/dma_remapping.h b/drivers/pci/dma_remapping.h index 05aac8ef96c7..bff5c65f81dc 100644 --- a/drivers/pci/dma_remapping.h +++ b/drivers/pci/dma_remapping.h | |||
@@ -145,6 +145,8 @@ struct device_domain_info { | |||
145 | extern int init_dmars(void); | 145 | extern int init_dmars(void); |
146 | extern void free_dmar_iommu(struct intel_iommu *iommu); | 146 | extern void free_dmar_iommu(struct intel_iommu *iommu); |
147 | 147 | ||
148 | extern int dmar_disabled; | ||
149 | |||
148 | #ifndef CONFIG_DMAR_GFX_WA | 150 | #ifndef CONFIG_DMAR_GFX_WA |
149 | static inline void iommu_prepare_gfx_mapping(void) | 151 | static inline void iommu_prepare_gfx_mapping(void) |
150 | { | 152 | { |