]> err.no Git - linux-2.6/blobdiff - include/asm-x86_64/pci.h
[PATCH] x86_64: Calgary IOMMU - move valid_dma_direction into the callers
[linux-2.6] / include / asm-x86_64 / pci.h
index fd03e15d7ea6f5edf50d5cfb72743c907aa8f2c1..3374d34c4acdbe9a2bbf65b07db115a453c108eb 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef __x8664_PCI_H
 #define __x8664_PCI_H
 
-#include <linux/config.h>
 #include <asm/io.h>
 
 #ifdef __KERNEL__
@@ -19,8 +18,6 @@ extern unsigned int pcibios_assign_all_busses(void);
 #endif
 #define pcibios_scan_all_fns(a, b)     0
 
-extern int no_iommu, force_iommu;
-
 extern unsigned long pci_mem_start;
 #define PCIBIOS_MIN_IO         0x1000
 #define PCIBIOS_MIN_MEM                (pci_mem_start)
@@ -55,7 +52,7 @@ extern int iommu_setup(char *opt);
  */
 #define PCI_DMA_BUS_IS_PHYS (dma_ops->is_phys)
 
-#ifdef CONFIG_GART_IOMMU
+#ifdef CONFIG_IOMMU
 
 /*
  * x86-64 always supports DAC, but sometimes it is useful to force