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/dist/include/drm Call ww_mutex_destroy...
details: https://anonhg.NetBSD.org/src/rev/11417f74112e
branches: trunk
changeset: 835367:11417f74112e
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 14:39:59 2018 +0000
description:
Call ww_mutex_destroy in drm_modeset_lock_fini.
>From mrg@.
diffstat:
sys/external/bsd/drm2/dist/include/drm/drm_modeset_lock.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r a30f524aba2d -r 11417f74112e sys/external/bsd/drm2/dist/include/drm/drm_modeset_lock.h
--- a/sys/external/bsd/drm2/dist/include/drm/drm_modeset_lock.h Mon Aug 27 14:39:46 2018 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drm_modeset_lock.h Mon Aug 27 14:39:59 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_modeset_lock.h,v 1.3 2018/08/27 06:17:52 riastradh Exp $ */
+/* $NetBSD: drm_modeset_lock.h,v 1.4 2018/08/27 14:39:59 riastradh Exp $ */
/*
* Copyright (C) 2014 Red Hat
@@ -111,6 +111,7 @@
static inline void drm_modeset_lock_fini(struct drm_modeset_lock *lock)
{
WARN_ON(!list_empty(&lock->head));
+ ww_mutex_destroy(&lock->mutex);
}
/**
Home |
Main Index |
Thread Index |
Old Index