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/linux Destroy the mut...



details:   https://anonhg.NetBSD.org/src/rev/e41e38dfde46
branches:  riastradh-drm2
changeset: 788540:e41e38dfde46
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Sep 08 16:01:49 2013 +0000

description:
Destroy the mutex too in destroy_completion.

diffstat:

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

diffs (17 lines):

diff -r ceb6b2c348be -r e41e38dfde46 sys/external/bsd/drm2/include/linux/completion.h
--- a/sys/external/bsd/drm2/include/linux/completion.h  Sun Sep 08 16:01:22 2013 +0000
+++ b/sys/external/bsd/drm2/include/linux/completion.h  Sun Sep 08 16:01:49 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: completion.h,v 1.1.2.4 2013/09/08 16:00:50 riastradh Exp $     */
+/*     $NetBSD: completion.h,v 1.1.2.5 2013/09/08 16:01:49 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -78,6 +78,7 @@
 {
        KASSERT(!cv_has_waiters(&completion->c_cv));
        cv_destroy(&completion->c_cv);
+       mutex_destroy(&completion->c_lock);
 }
 
 /*



Home | Main Index | Thread Index | Old Index