]> Pileus Git - ~andy/linux/blobdiff - include/asm-powerpc/machdep.h
[POWERPC] Remove last_syscall
[~andy/linux] / include / asm-powerpc / machdep.h
index ccc29744656e5bf54530f3172ccc61740a37ef2c..1b04e57235482ae59f276c89a9bbc6e0baa1ef4b 100644 (file)
@@ -26,6 +26,7 @@ struct device_node;
 struct iommu_table;
 struct rtc_time;
 struct file;
+struct pci_controller;
 #ifdef CONFIG_KEXEC
 struct kimage;
 #endif
@@ -86,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)(phys_addr_t addr, unsigned long size,
+                                  unsigned long flags);
+       void            (*iounmap)(volatile void __iomem *token);
 #endif /* CONFIG_PPC64 */
 
        int             (*probe)(void);
@@ -107,6 +112,9 @@ struct machdep_calls {
        int             (*pci_probe_mode)(struct pci_bus *);
        void            (*pci_irq_fixup)(struct pci_dev *dev);
 
+       /* To setup PHBs when using automatic OF platform driver for PCI */
+       int             (*pci_setup_phb)(struct pci_controller *host);
+
        void            (*restart)(char *cmd);
        void            (*power_off)(void);
        void            (*halt)(void);