summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Tholen <moondrake@gmail.com>2009-05-06 23:41:09 +0100
committerStuart Bennett <stuart@freedesktop.org>2009-05-07 01:00:41 +0100
commite2b5fde7f6ff412cadd9cad35ad051a028cf7fae (patch)
treed38c1ebb82d44745ab8949a88434b2e0627491d7
parent68103b2758029b3c1fbfcf995baa758bfd2676de (diff)
nouveau: fix ppc for swab changes in Linux 2.6.29
-rw-r--r--shared-core/nouveau_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/nouveau_state.c b/shared-core/nouveau_state.c
index c9f43295..b2ad747a 100644
--- a/shared-core/nouveau_state.c
+++ b/shared-core/nouveau_state.c
@@ -496,7 +496,7 @@ int nouveau_load(struct drm_device *dev, unsigned long flags)
reg1 = readl(regs+NV03_PMC_BOOT_1);
#if defined(__powerpc__)
if (reg1)
- reg0=___swab32(reg0);
+ reg0=__swab32(reg0);
#endif
/* We're dealing with >=NV10 */