summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-11-10 10:14:48 +0000
committerDave Airlie <airlied@linux.ie>2005-11-10 10:14:48 +0000
commitb84daa8f326c1120728bb912cdf6a80524b0a8fa (patch)
treed626fee87b0cd9e30e4ad1d746a79fdbdf45c122
parentfb22dfbfc1cf04bc5f54603a88c244ec018bced6 (diff)
Fix cpu_to_le32 same as kernel not sure it is correct for ppc
-rw-r--r--linux-core/ati_pcigart.c2
1 files changed, 1 insertions, 1 deletions
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++;