diff options
author | Christoph Hellwig <hch@lst.de> | 2019-11-13 10:18:34 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-11-15 12:36:59 +0300 |
commit | 90dc392fc445ee2fc17c2617e306774b269386ac (patch) | |
tree | 5256af5e96abc028f818ca3f47184ad0a32aed3c /arch/x86/include/asm/pci_64.h | |
parent | 44eb5a7e5dc6f23d04c05c15f91bc279e0dc700d (diff) | |
download | linux-90dc392fc445ee2fc17c2617e306774b269386ac.tar.xz |
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.h | 14 |
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, |