aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/dma_remapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/dma_remapping.h')
-rw-r--r--drivers/pci/dma_remapping.h2
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 {
145extern int init_dmars(void); 145extern int init_dmars(void);
146extern void free_dmar_iommu(struct intel_iommu *iommu); 146extern void free_dmar_iommu(struct intel_iommu *iommu);
147 147
148extern int dmar_disabled;
149
148#ifndef CONFIG_DMAR_GFX_WA 150#ifndef CONFIG_DMAR_GFX_WA
149static inline void iommu_prepare_gfx_mapping(void) 151static inline void iommu_prepare_gfx_mapping(void)
150{ 152{