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/drm/ttm Destroy glob->lock if we ...
details: https://anonhg.NetBSD.org/src/rev/cef333430f54
branches: trunk
changeset: 992990:cef333430f54
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 14:41:10 2018 +0000
description:
Destroy glob->lock if we init it.
diffstat:
sys/external/bsd/drm2/dist/drm/ttm/ttm_memory.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r d7cdf5906703 -r cef333430f54 sys/external/bsd/drm2/dist/drm/ttm/ttm_memory.c
--- a/sys/external/bsd/drm2/dist/drm/ttm/ttm_memory.c Mon Aug 27 14:40:56 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/ttm/ttm_memory.c Mon Aug 27 14:41:10 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ttm_memory.c,v 1.3 2018/08/27 04:58:37 riastradh Exp $ */
+/* $NetBSD: ttm_memory.c,v 1.4 2018/08/27 14:41:10 riastradh Exp $ */
/**************************************************************************
*
@@ -28,7 +28,7 @@
**************************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ttm_memory.c,v 1.3 2018/08/27 04:58:37 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ttm_memory.c,v 1.4 2018/08/27 14:41:10 riastradh Exp $");
#define pr_fmt(fmt) "[TTM] " fmt
@@ -454,6 +454,7 @@
kobject_put(&zone->kobj);
#endif
}
+ spin_lock_destroy(&glob->lock);
#ifdef __NetBSD__
kfree(glob);
#else
Home |
Main Index |
Thread Index |
Old Index