]> err.no Git - linux-2.6/blobdiff - drivers/char/drm/ati_pcigart.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney...
[linux-2.6] / drivers / char / drm / ati_pcigart.c
index e5a0e97cfdda63b1e386013239d549368eaf4bf4..b710426bab3ee3f7c726e0fbebad56acdabc32fc 100644 (file)
@@ -122,8 +122,9 @@ int drm_ati_pcigart_init(struct drm_device *dev, struct drm_ati_pcigart_info *ga
        } else {
                address = gart_info->addr;
                bus_address = gart_info->bus_addr;
-               DRM_DEBUG("PCI: Gart Table: VRAM %08X mapped at %08lX\n",
-                         bus_address, (unsigned long)address);
+               DRM_DEBUG("PCI: Gart Table: VRAM %08LX mapped at %08lX\n",
+                         (unsigned long long)bus_address,
+                         (unsigned long)address);
        }
 
        pci_gart = (u32 *) address;
@@ -166,7 +167,6 @@ int drm_ati_pcigart_init(struct drm_device *dev, struct drm_ati_pcigart_info *ga
                        page_base += ATI_PCIGART_PAGE_SIZE;
                }
        }
-
        ret = 1;
 
 #if defined(__i386__) || defined(__x86_64__)