diff options
| author | riastradh <riastradh@NetBSD.org> | 2021-12-19 09:47:27 +0000 |
|---|---|---|
| committer | riastradh <riastradh@NetBSD.org> | 2021-12-19 09:47:27 +0000 |
| commit | ab01bc2b5e833f7188fc02afaa8a61b58a747199 (patch) | |
| tree | 62b780a5d0b799f90f774c4e94112b61d2a0ab61 /sys/external/bsd/drm2/include/linux | |
| parent | e087b5fd28304a11a59c2e2b98dfd433eea02524 (diff) | |
handle us having a named union in struct ww_mutex
Author: Maya Rashish <maya@NetBSD.org>
Diffstat (limited to 'sys/external/bsd/drm2/include/linux')
| -rw-r--r-- | sys/external/bsd/drm2/include/linux/dma-resv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/external/bsd/drm2/include/linux/dma-resv.h b/sys/external/bsd/drm2/include/linux/dma-resv.h index ee50d10f052..610659a0684 100644 --- a/sys/external/bsd/drm2/include/linux/dma-resv.h +++ b/sys/external/bsd/drm2/include/linux/dma-resv.h @@ -206,7 +206,7 @@ static inline bool dma_resv_is_locked(struct dma_resv *obj) */ static inline struct ww_acquire_ctx *dma_resv_locking_ctx(struct dma_resv *obj) { - return READ_ONCE(obj->lock.ctx); + return READ_ONCE(obj->lock.wwm_u.ctx); } /** |
