summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-07-31 08:12:39 +0000
committerDave Airlie <airlied@linux.ie>2004-07-31 08:12:39 +0000
commitcc4d03930ce753302a88fc9722473a5d9fac7b44 (patch)
tree9626d0a09b8b01a3dd298d2679837d535b813bb0
parenteb3d0635d4830969d10d5fe8aef17cebb2f3fd15 (diff)
Patch picked up from Redhat xorg release:
Patch by John Dennis <jdennis@redhat.com> which fixes DRI locking bug on ia64 architecture. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=104338 http://bugs.xfree86.org/show_bug.cgi?id=778
-rw-r--r--libdrm/xf86drm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdrm/xf86drm.h b/libdrm/xf86drm.h
index 0b6e93fd..b44e4281 100644
--- a/libdrm/xf86drm.h
+++ b/libdrm/xf86drm.h
@@ -281,8 +281,8 @@ typedef struct _drmSetVersion {
#define __drm_dummy_lock(lock) (*(__volatile__ unsigned int *)lock)
-#define DRM_LOCK_HELD 0x80000000 /**< Hardware lock is held */
-#define DRM_LOCK_CONT 0x40000000 /**< Hardware lock is contended */
+#define DRM_LOCK_HELD 0x80000000U /**< Hardware lock is held */
+#define DRM_LOCK_CONT 0x40000000U /**< Hardware lock is contended */
#if defined(__GNUC__) && (__GNUC__ >= 2)
# if defined(__i386) || defined(__AMD64__)