From b84daa8f326c1120728bb912cdf6a80524b0a8fa Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 10 Nov 2005 10:14:48 +0000 Subject: Fix cpu_to_le32 same as kernel not sure it is correct for ppc --- linux-core/ati_pcigart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-core/ati_pcigart.c') diff --git a/linux-core/ati_pcigart.c b/linux-core/ati_pcigart.c index 06868cb6..a7b05041 100644 --- a/linux-core/ati_pcigart.c +++ b/linux-core/ati_pcigart.c @@ -202,7 +202,7 @@ int drm_ati_pcigart_init(drm_device_t * dev, drm_ati_pcigart_info *gart_info) for (j = 0; j < (PAGE_SIZE / ATI_PCIGART_PAGE_SIZE); j++) { if (gart_info->is_pcie) - *pci_gart = (cpu_to_le32(page_base)>>8) | 0xc; + *pci_gart = cpu_to_le32((page_base>>8) | 0xc); else *pci_gart = cpu_to_le32(page_base); pci_gart++; -- cgit v1.2.3