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/drm Use the _unlocked variant...



details:   https://anonhg.NetBSD.org/src/rev/9d0ab709723f
branches:  riastradh-drm2
changeset: 788531:9d0ab709723f
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Sep 08 15:56:32 2013 +0000

description:
Use the _unlocked variant of unreference in drm_gem_pager_detach.

diffstat:

 sys/external/bsd/drm2/drm/drm_gem_vm.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 22a96889b02c -r 9d0ab709723f sys/external/bsd/drm2/drm/drm_gem_vm.c
--- a/sys/external/bsd/drm2/drm/drm_gem_vm.c    Sun Sep 08 15:56:02 2013 +0000
+++ b/sys/external/bsd/drm2/drm/drm_gem_vm.c    Sun Sep 08 15:56:32 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_gem_vm.c,v 1.1.2.2 2013/09/08 15:44:14 riastradh Exp $     */
+/*     $NetBSD: drm_gem_vm.c,v 1.1.2.3 2013/09/08 15:56:32 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_gem_vm.c,v 1.1.2.2 2013/09/08 15:44:14 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_gem_vm.c,v 1.1.2.3 2013/09/08 15:56:32 riastradh Exp $");
 
 #include <sys/types.h>
 
@@ -56,7 +56,7 @@
        struct drm_gem_object *const obj = container_of(uobj,
            struct drm_gem_object, gemo_uvmobj);
 
-       drm_gem_object_unreference(obj);
+       drm_gem_object_unreference_unlocked(obj);
 }
 
 int



Home | Main Index | Thread Index | Old Index