summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/xf86drm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdrm/xf86drm.h b/libdrm/xf86drm.h
index d2ca9579..30496d0d 100644
--- a/libdrm/xf86drm.h
+++ b/libdrm/xf86drm.h
@@ -319,8 +319,8 @@ typedef struct _drmSetVersion {
" stl_c %1, %2\n" \
"1: xor %1, 1, %1\n" \
" stl %1, %3" \
- : "+r" (old32), \
- "+&r" (cur32), \
+ : "=r" (old32), \
+ "=&r" (cur32), \
"=m" (__drm_dummy_lock(lock)),\
"=m" (ret) \
: "r" (old), \