Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/include/linux handle us having a named...



details:   https://anonhg.NetBSD.org/src/rev/c3c2fb85aa08
branches:  trunk
changeset: 1028190:c3c2fb85aa08
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 09:47:27 2021 +0000

description:
handle us having a named union in struct ww_mutex


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/include/linux/dma-resv.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c6b413fbeb41 -r c3c2fb85aa08 sys/external/bsd/drm2/include/linux/dma-resv.h
--- a/sys/external/bsd/drm2/include/linux/dma-resv.h    Sun Dec 19 09:47:18 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/dma-resv.h    Sun Dec 19 09:47:27 2021 +0000
@@ -206,7 +206,7 @@
  */
 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);
 }
 
 /**



Home | Main Index | Thread Index | Old Index