]> err.no Git - linux-2.6/blobdiff - include/asm-ppc/pci-bridge.h
[PATCH] Kprobes: prevent possible race conditions generic
[linux-2.6] / include / asm-ppc / pci-bridge.h
index 78e9be619f14630a5c6af34f3ff4e5415bc0db77..ffa423456c2ba7eeae7af7e8de7738f08d614423 100644 (file)
@@ -12,7 +12,7 @@ struct pci_controller;
  * pci_io_base returns the memory address at which you can access
  * the I/O space for PCI bus number `bus' (or NULL on error).
  */
-extern void *pci_bus_io_base(unsigned int bus);
+extern void __iomem *pci_bus_io_base(unsigned int bus);
 extern unsigned long pci_bus_io_base_phys(unsigned int bus);
 extern unsigned long pci_bus_mem_base_phys(unsigned int bus);
 
@@ -48,7 +48,7 @@ struct pci_controller {
        int last_busno;
        int bus_offset;
 
-       void *io_base_virt;
+       void __iomem *io_base_virt;
        unsigned long io_base_phys;
 
        /* Some machines (PReP) have a non 1:1 mapping of