summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@ppcg5.localdomain>2006-11-06 11:44:36 +1100
committerDave Airlie <airlied@ppcg5.localdomain>2006-11-06 11:44:36 +1100
commitf7affda35bb0c47fbc973725e05847669e215d46 (patch)
treece53454fac6913017640d532eddf3e7770944b54 /shared-core
parent2dd3c039fdbe86db4043abcc69babf768edb3ab8 (diff)
drm: fixup page alignment on SAREA map on ppc64
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm_sarea.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/drm_sarea.h b/shared-core/drm_sarea.h
index 0d5baf69..43d1114f 100644
--- a/shared-core/drm_sarea.h
+++ b/shared-core/drm_sarea.h
@@ -41,7 +41,7 @@
#define SAREA_MAX 0x10000 /* 64kB */
#else
/* Intel 830M driver needs at least 8k SAREA */
-#define SAREA_MAX 0x2000
+#define SAREA_MAX 0x2000UL
#endif
/** Maximum number of drawables in the SAREA */