summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-10-22 05:50:22 +0000
committerAdam Jackson <ajax@nwnk.net>2005-10-22 05:50:22 +0000
commit79f30e79ec5b05b2052988e3e6edba8624e3d1c5 (patch)
treeaa40ef526f274151d5a8cf6d16b50e1240e15358
parent00d4957d62607873c2bf0c506fab4ff6c384b414 (diff)
Bug #328: Silence read-from-uninitialized warnings in DRM_CAS on Alpha.
(David Dawes)
-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), \