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=778main
parent
eb3d0635d4
commit
cc4d03930c
|
@ -281,8 +281,8 @@ typedef struct _drmSetVersion {
|
||||||
|
|
||||||
#define __drm_dummy_lock(lock) (*(__volatile__ unsigned int *)lock)
|
#define __drm_dummy_lock(lock) (*(__volatile__ unsigned int *)lock)
|
||||||
|
|
||||||
#define DRM_LOCK_HELD 0x80000000 /**< Hardware lock is held */
|
#define DRM_LOCK_HELD 0x80000000U /**< Hardware lock is held */
|
||||||
#define DRM_LOCK_CONT 0x40000000 /**< Hardware lock is contended */
|
#define DRM_LOCK_CONT 0x40000000U /**< Hardware lock is contended */
|
||||||
|
|
||||||
#if defined(__GNUC__) && (__GNUC__ >= 2)
|
#if defined(__GNUC__) && (__GNUC__ >= 2)
|
||||||
# if defined(__i386) || defined(__AMD64__)
|
# if defined(__i386) || defined(__AMD64__)
|
||||||
|
|
Loading…
Reference in New Issue