Module Name: src
Committed By: riastradh
Date: Mon Aug 27 06:53:46 UTC 2018
Modified Files:
src/sys/external/bsd/drm2/dist/drm: drm_drv.c
Log Message:
dev->count_lock is no more.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/external/bsd/drm2/dist/drm/drm_drv.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/dist/drm/drm_drv.c
diff -u src/sys/external/bsd/drm2/dist/drm/drm_drv.c:1.3 src/sys/external/bsd/drm2/dist/drm/drm_drv.c:1.4
--- src/sys/external/bsd/drm2/dist/drm/drm_drv.c:1.3 Mon Aug 27 06:53:13 2018
+++ src/sys/external/bsd/drm2/dist/drm/drm_drv.c Mon Aug 27 06:53:46 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_drv.c,v 1.3 2018/08/27 06:53:13 riastradh Exp $ */
+/* $NetBSD: drm_drv.c,v 1.4 2018/08/27 06:53:46 riastradh Exp $ */
/*
* Created: Fri Jan 19 10:48:35 2001 by [email protected]
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_drv.c,v 1.3 2018/08/27 06:53:13 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_drv.c,v 1.4 2018/08/27 06:53:46 riastradh Exp $");
#include <linux/err.h>
#include <linux/export.h>
@@ -723,7 +723,6 @@ err_free:
linux_mutex_destroy(&dev->ctxlist_mutex);
linux_mutex_destroy(&dev->master_mutex);
spin_lock_destroy(&dev->event_lock);
- spin_lock_destroy(&dev->count_lock);
#else
mutex_destroy(&dev->master_mutex);
#endif
@@ -752,7 +751,6 @@ static void drm_dev_release(struct kref
linux_mutex_destroy(&dev->ctxlist_mutex);
linux_mutex_destroy(&dev->master_mutex);
spin_lock_destroy(&dev->event_lock);
- spin_lock_destroy(&dev->count_lock);
#else
mutex_destroy(&dev->master_mutex);
#endif