diff options
-rw-r--r-- | sys/dev/drm2/drm_atomic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm2/drm_atomic.h b/sys/dev/drm2/drm_atomic.h index e52d349..eb86373 100644 --- a/sys/dev/drm2/drm_atomic.h +++ b/sys/dev/drm2/drm_atomic.h @@ -69,7 +69,7 @@ typedef uint64_t atomic64_t; #define set_bit(b, p) \ atomic_set_long(__bit_addr(p, b), __bit_mask(b)) #define test_bit(b, p) \ - ((atomic_read(__bit_addr(p, b)) & __bit_mask(b)) != 0) + ((*__bit_addr(p, b) & __bit_mask(b)) != 0) static __inline u_long find_first_zero_bit(const u_long *p, u_long max) |