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 dev->count_lock is no more.



details:   https://anonhg.NetBSD.org/src/rev/ff1d448049b8
branches:  trunk
changeset: 365826:ff1d448049b8
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 06:53:46 2018 +0000

description:
dev->count_lock is no more.

diffstat:

 sys/external/bsd/drm2/dist/drm/drm_drv.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 9a5e854d4037 -r ff1d448049b8 sys/external/bsd/drm2/dist/drm/drm_drv.c
--- a/sys/external/bsd/drm2/dist/drm/drm_drv.c  Mon Aug 27 06:53:36 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_drv.c  Mon Aug 27 06:53:46 2018 +0000
@@ -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 faith%acm.org@localhost
@@ -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 @@
        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 @@
        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



Home | Main Index | Thread Index | Old Index