]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - include/asm-powerpc/machdep.h
[POWERPC] Allow hooking of PCI MMIO & PIO accessors on 64 bits
[mirror_ubuntu-jammy-kernel.git] / include / asm-powerpc / machdep.h
index 23580cf5504c3eb8f1c6668363f5878a46f3170f..8c1a2dfe5cc7a652b306d75edc978e6b80e6945d 100644 (file)
@@ -87,6 +87,10 @@ struct machdep_calls {
        void            (*tce_flush)(struct iommu_table *tbl);
        void            (*pci_dma_dev_setup)(struct pci_dev *dev);
        void            (*pci_dma_bus_setup)(struct pci_bus *bus);
+
+       void __iomem *  (*ioremap)(unsigned long addr, unsigned long size,
+                                  unsigned long flags);
+       void            (*iounmap)(void __iomem *token);
 #endif /* CONFIG_PPC64 */
 
        int             (*probe)(void);