linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / sh / drivers / pci / pci.c
index 3d546ba..c166990 100644 (file)
@@ -75,7 +75,7 @@ pcibios_update_resource(struct pci_dev *dev, struct resource *root,
 }
 
 void pcibios_align_resource(void *data, struct resource *res,
-                           resource_size_t size, resource_size_t align)
+                           unsigned long size, unsigned long align)
                            __attribute__ ((weak));
 
 /*
@@ -85,10 +85,10 @@ void pcibios_align_resource(void *data, struct resource *res,
  * modulo 0x400.
  */
 void pcibios_align_resource(void *data, struct resource *res,
-                           resource_size_t size, resource_size_t align)
+                           unsigned long size, unsigned long align)
 {
        if (res->flags & IORESOURCE_IO) {
-               resource_size_t start = res->start;
+               unsigned long start = res->start;
 
                if (start & 0x300) {
                        start = (start + 0x3ff) & ~0x3ff;