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/i915 Fix mutex destroy pointer.



details:   https://anonhg.NetBSD.org/src/rev/7bca4e732c97
branches:  trunk
changeset: 992689:7bca4e732c97
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:30:37 2018 +0000

description:
Fix mutex destroy pointer.

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/intel_runtime_pm.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r dd0717d696c3 -r 7bca4e732c97 sys/external/bsd/drm2/dist/drm/i915/intel_runtime_pm.c
--- a/sys/external/bsd/drm2/dist/drm/i915/intel_runtime_pm.c    Mon Aug 27 07:30:25 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/intel_runtime_pm.c    Mon Aug 27 07:30:37 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intel_runtime_pm.c,v 1.4 2018/08/27 07:30:25 riastradh Exp $   */
+/*     $NetBSD: intel_runtime_pm.c,v 1.5 2018/08/27 07:30:37 riastradh Exp $   */
 
 /*
  * Copyright © 2012-2014 Intel Corporation
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intel_runtime_pm.c,v 1.4 2018/08/27 07:30:25 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_runtime_pm.c,v 1.5 2018/08/27 07:30:37 riastradh Exp $");
 
 #include <linux/pm_runtime.h>
 #include <linux/vgaarb.h>
@@ -1939,9 +1939,9 @@
        intel_display_set_init_power(dev_priv, true);
 
 #ifdef __NetBSD__
-       linux_mutex_destroy(&dev_priv->power_domains->lock);
+       linux_mutex_destroy(&dev_priv->power_domains.lock);
 #else
-       mutex_destroy(&dev_priv->power_domains->lock);
+       mutex_destroy(&dev_priv->power_domains.lock);
 #endif
 }
 



Home | Main Index | Thread Index | Old Index