Module Name: src
Committed By: riastradh
Date: Sun Dec 19 09:47:27 UTC 2021
Modified Files:
src/sys/external/bsd/drm2/include/linux: dma-resv.h
Log Message:
handle us having a named union in struct ww_mutex
Author: Maya Rashish <[email protected]>
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/external/bsd/drm2/include/linux/dma-resv.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/include/linux/dma-resv.h
diff -u src/sys/external/bsd/drm2/include/linux/dma-resv.h:1.3 src/sys/external/bsd/drm2/include/linux/dma-resv.h:1.4
--- src/sys/external/bsd/drm2/include/linux/dma-resv.h:1.3 Sun Dec 19 09:47:18 2021
+++ src/sys/external/bsd/drm2/include/linux/dma-resv.h Sun Dec 19 09:47:27 2021
@@ -206,7 +206,7 @@ static inline bool dma_resv_is_locked(st
*/
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);
}
/**