X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-x86_64%2Fpci.h;fp=include%2Fasm-x86_64%2Fpci.h;h=8a05af264d1865d57e429ce69e696cc379b2dc95;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=49c5e9280598729000a42e07483fa5f21da2b538;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/include/asm-x86_64/pci.h b/include/asm-x86_64/pci.h index 49c5e9280..8a05af264 100644 --- a/include/asm-x86_64/pci.h +++ b/include/asm-x86_64/pci.h @@ -1,6 +1,7 @@ #ifndef __x8664_PCI_H #define __x8664_PCI_H +#include #include #ifdef __KERNEL__ @@ -39,8 +40,8 @@ int pcibios_set_irq_routing(struct pci_dev *dev, int pin, int irq); #include #include #include +#include /* for have_iommu */ -extern void pci_iommu_alloc(void); extern int iommu_setup(char *opt); /* The PCI address space does equal the physical memory @@ -52,7 +53,7 @@ extern int iommu_setup(char *opt); */ #define PCI_DMA_BUS_IS_PHYS (dma_ops->is_phys) -#if defined(CONFIG_IOMMU) || defined(CONFIG_CALGARY_IOMMU) +#ifdef CONFIG_GART_IOMMU /* * x86-64 always supports DAC, but sometimes it is useful to force