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.
This commit is contained in:
martin 2018-09-27 14:38:56 +00:00
parent b3453f2215
commit d9d133daee
1 changed files with 3 additions and 3 deletions

View File

@ -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 *ctx)
#ifdef LOCKDEBUG
static void
ww_dump(const volatile void *cookie)
ww_dump(volatile void *cookie)
{
const volatile struct ww_mutex *mutex = cookie;