aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/pci-dma_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/pci-dma_32.c')
-rw-r--r--arch/x86/kernel/pci-dma_32.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/x86/kernel/pci-dma_32.c b/arch/x86/kernel/pci-dma_32.c
index 1d4091af4417..eea52df68a3b 100644
--- a/arch/x86/kernel/pci-dma_32.c
+++ b/arch/x86/kernel/pci-dma_32.c
@@ -153,15 +153,3 @@ void *dma_mark_declared_memory_occupied(struct device *dev,
153 return mem->virt_base + (pos << PAGE_SHIFT); 153 return mem->virt_base + (pos << PAGE_SHIFT);
154} 154}
155EXPORT_SYMBOL(dma_mark_declared_memory_occupied); 155EXPORT_SYMBOL(dma_mark_declared_memory_occupied);
156
157#ifdef CONFIG_PCI
158static int check_iommu(char *s)
159{
160 if (!strcmp(s, "usedac")) {
161 forbid_dac = -1;
162 return 1;
163 }
164 return 0;
165}
166__setup("iommu=", check_iommu);
167#endif