summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/xf86drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/os-support/xf86drm.h')
-rw-r--r--hw/xfree86/os-support/xf86drm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/os-support/xf86drm.h b/hw/xfree86/os-support/xf86drm.h
index d2ca95791..30496d0d4 100644
--- a/hw/xfree86/os-support/xf86drm.h
+++ b/hw/xfree86/os-support/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), \