Module Name: src
Committed By: martin
Date: Thu Sep 27 14:38:56 UTC 2018
Modified Files:
src/sys/external/bsd/drm2/linux [netbsd-8]: linux_ww_mutex.c
Log Message:
Apply patch, requested by mrg in ticket #1036:
sys/external/bsd/drm2/linux/linux_ww_mutex.c (apply patch)
Fix LOCKDEBUG build error. Change not needed in -current.
To generate a diff of this commit:
cvs rdiff -u -r1.2.10.1 -r1.2.10.2 \
src/sys/external/bsd/drm2/linux/linux_ww_mutex.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/linux/linux_ww_mutex.c
diff -u src/sys/external/bsd/drm2/linux/linux_ww_mutex.c:1.2.10.1 src/sys/external/bsd/drm2/linux/linux_ww_mutex.c:1.2.10.2
--- src/sys/external/bsd/drm2/linux/linux_ww_mutex.c:1.2.10.1 Sat Sep 1 06:34:00 2018
+++ src/sys/external/bsd/drm2/linux/linux_ww_mutex.c Thu Sep 27 14:38:56 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_ww_mutex.c,v 1.2.10.1 2018/09/01 06:34:00 martin Exp $ */
+/* $NetBSD: linux_ww_mutex.c,v 1.2.10.2 2018/09/27 14:38:56 martin Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_ww_mutex.c,v 1.2.10.1 2018/09/01 06:34:00 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_ww_mutex.c,v 1.2.10.2 2018/09/27 14:38:56 martin Exp $");
#include <sys/types.h>
#include <sys/atomic.h>
@@ -122,7 +122,7 @@ ww_acquire_fini(struct ww_acquire_ctx *c
#ifdef LOCKDEBUG
static void
-ww_dump(const volatile void *cookie)
+ww_dump(volatile void *cookie)
{
const volatile struct ww_mutex *mutex = cookie;