Commit a25871ae authored by Kevin E Martin's avatar Kevin E Martin

DRM 1.0.5 import

parent c9709c0a
......@@ -63,9 +63,8 @@
# define _DRM_MALLOC malloc
# define _DRM_FREE free
# else
# include <X11/Xlibint.h>
# define _DRM_MALLOC Xmalloc
# define _DRM_FREE Xfree
# define _DRM_MALLOC malloc
# define _DRM_FREE free
# endif
# include "drm.h"
#endif
......
......@@ -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), \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment