aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/pci_64.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-11-13 08:18:34 +0100
committerThomas Gleixner <tglx@linutronix.de>2019-11-15 10:36:59 +0100
commit90dc392fc445ee2fc17c2617e306774b269386ac (patch)
tree5256af5e96abc028f818ca3f47184ad0a32aed3c /arch/x86/include/asm/pci_64.h
parentx86/apic, x86/uprobes: Correct parameter names in kernel-doc comments (diff)
downloadlinux-dev-90dc392fc445ee2fc17c2617e306774b269386ac.tar.xz
linux-dev-90dc392fc445ee2fc17c2617e306774b269386ac.zip
x86: Remove the calgary IOMMU driver
The calgary IOMMU was only used on high-end IBM systems in the early x86_64 age and has no known users left. Remove it to avoid having to touch it for pending changes to the DMA API. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/20191113071836.21041-2-hch@lst.de
Diffstat (limited to 'arch/x86/include/asm/pci_64.h')
-rw-r--r--arch/x86/include/asm/pci_64.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/x86/include/asm/pci_64.h b/arch/x86/include/asm/pci_64.h
index f5411de0ae11..4e1aef506aa5 100644
--- a/arch/x86/include/asm/pci_64.h
+++ b/arch/x86/include/asm/pci_64.h
@@ -4,20 +4,6 @@
#ifdef __KERNEL__
-#ifdef CONFIG_CALGARY_IOMMU
-static inline void *pci_iommu(struct pci_bus *bus)
-{
- struct pci_sysdata *sd = bus->sysdata;
- return sd->iommu;
-}
-
-static inline void set_pci_iommu(struct pci_bus *bus, void *val)
-{
- struct pci_sysdata *sd = bus->sysdata;
- sd->iommu = val;
-}
-#endif /* CONFIG_CALGARY_IOMMU */
-
extern int (*pci_config_read)(int seg, int bus, int dev, int fn,
int reg, int len, u32 *value);
extern int (*pci_config_write)(int seg, int bus, int dev, int fn,