DRM 1.0.5 import

This commit is contained in:
Kevin E Martin 2005-11-09 01:00:46 +00:00
parent c9709c0a38
commit a25871ae52
2 changed files with 4 additions and 5 deletions

View File

@ -63,9 +63,8 @@
# define _DRM_MALLOC malloc # define _DRM_MALLOC malloc
# define _DRM_FREE free # define _DRM_FREE free
# else # else
# include <X11/Xlibint.h> # define _DRM_MALLOC malloc
# define _DRM_MALLOC Xmalloc # define _DRM_FREE free
# define _DRM_FREE Xfree
# endif # endif
# include "drm.h" # include "drm.h"
#endif #endif

View File

@ -319,8 +319,8 @@ typedef struct _drmSetVersion {
" stl_c %1, %2\n" \ " stl_c %1, %2\n" \
"1: xor %1, 1, %1\n" \ "1: xor %1, 1, %1\n" \
" stl %1, %3" \ " stl %1, %3" \
: "+r" (old32), \ : "=r" (old32), \
"+&r" (cur32), \ "=&r" (cur32), \
"=m" (__drm_dummy_lock(lock)),\ "=m" (__drm_dummy_lock(lock)),\
"=m" (ret) \ "=m" (ret) \
: "r" (old), \ : "r" (old), \