Source-Changes-HG archive

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

[src/riastradh-drm2]: src/sys/external/bsd/drm2/include/drm Add DRM_DESTROY_W...



details:   https://anonhg.NetBSD.org/src/rev/f18b9edbfa89
branches:  riastradh-drm2
changeset: 788184:f18b9edbfa89
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 02:36:31 2013 +0000

description:
Add DRM_DESTROY_WAITQUEUE to drm_wait_netbsd.h.

diffstat:

 sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 3eac3d0657d1 -r f18b9edbfa89 sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h
--- a/sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h       Wed Jul 24 02:36:18 2013 +0000
+++ b/sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h       Wed Jul 24 02:36:31 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_wait_netbsd.h,v 1.1.2.4 2013/07/24 02:27:09 riastradh Exp $        */
+/*     $NetBSD: drm_wait_netbsd.h,v 1.1.2.5 2013/07/24 02:36:31 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -52,6 +52,12 @@
 }
 
 static inline void
+DRM_DESTROY_WAITQUEUE(drm_waitqueue_t *q)
+{
+       cv_destroy(q);
+}
+
+static inline void
 DRM_WAKEUP_ONE(drm_waitqueue_t *q, struct mutex *interlock)
 {
        KASSERT(mutex_is_locked(interlock));



Home | Main Index | Thread Index | Old Index