From e2b5fde7f6ff412cadd9cad35ad051a028cf7fae Mon Sep 17 00:00:00 2001 From: Danny Tholen Date: Wed, 6 May 2009 23:41:09 +0100 Subject: nouveau: fix ppc for swab changes in Linux 2.6.29 --- shared-core/nouveau_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared-core/nouveau_state.c') 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 */ -- cgit v1.2.3