[TG3]: Fix race condition when calling register_netdev().
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / asm-powerpc / pci-bridge.h
index 7bb7f90098066f81d3ec216141c21294c26ea2ea..cb02c9d1ef938f0c0d8bcdc9169d22236012c543 100644 (file)
@@ -31,12 +31,12 @@ struct pci_controller {
        int last_busno;
 
        void __iomem *io_base_virt;
-       unsigned long io_base_phys;
+       resource_size_t io_base_phys;
 
        /* Some machines have a non 1:1 mapping of
         * the PCI memory space in the CPU bus space
         */
-       unsigned long pci_mem_offset;
+       resource_size_t pci_mem_offset;
        unsigned long pci_io_size;
 
        struct pci_ops *ops;