Args for the BSD DRM_PUT_USER_UNCHECKED were swapped.
parent
e8f5b01a40
commit
8feb046d8c
|
@ -271,7 +271,7 @@ for ( ret = 0 ; !ret && !(condition) ; ) { \
|
|||
copyout(arg2, arg1, arg3)
|
||||
#define DRM_GET_USER_UNCHECKED(val, uaddr) \
|
||||
((val) = fuword(uaddr), 0)
|
||||
#define DRM_PUT_USER_UNCHECKED(val, uaddr) \
|
||||
#define DRM_PUT_USER_UNCHECKED(uaddr, val) \
|
||||
suword(uaddr, val)
|
||||
|
||||
/* DRM_READMEMORYBARRIER() prevents reordering of reads.
|
||||
|
|
|
@ -271,7 +271,7 @@ for ( ret = 0 ; !ret && !(condition) ; ) { \
|
|||
copyout(arg2, arg1, arg3)
|
||||
#define DRM_GET_USER_UNCHECKED(val, uaddr) \
|
||||
((val) = fuword(uaddr), 0)
|
||||
#define DRM_PUT_USER_UNCHECKED(val, uaddr) \
|
||||
#define DRM_PUT_USER_UNCHECKED(uaddr, val) \
|
||||
suword(uaddr, val)
|
||||
|
||||
/* DRM_READMEMORYBARRIER() prevents reordering of reads.
|
||||
|
|
Loading…
Reference in New Issue