Module Name:    src
Committed By:   riastradh
Date:           Sun Sep  8 15:56:32 UTC 2013

Modified Files:
        src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_gem_vm.c

Log Message:
Use the _unlocked variant of unreference in drm_gem_pager_detach.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/external/bsd/drm2/drm/drm_gem_vm.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/drm/drm_gem_vm.c
diff -u src/sys/external/bsd/drm2/drm/drm_gem_vm.c:1.1.2.2 src/sys/external/bsd/drm2/drm/drm_gem_vm.c:1.1.2.3
--- src/sys/external/bsd/drm2/drm/drm_gem_vm.c:1.1.2.2	Sun Sep  8 15:44:14 2013
+++ src/sys/external/bsd/drm2/drm/drm_gem_vm.c	Sun Sep  8 15:56:32 2013
@@ -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 @@ drm_gem_pager_detach(struct uvm_object *
 	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

Reply via email to