summaryrefslogtreecommitdiff
path: root/sys/dev/fdt
diff options
context:
space:
mode:
authorskrll <skrll@NetBSD.org>2020-03-08 08:25:36 +0000
committerskrll <skrll@NetBSD.org>2020-03-08 08:25:36 +0000
commit2d637268ea525ecf44a603b781f3f8749bfc2bf3 (patch)
tree566ca02c5edbbdc151e4d49f759104359dda1d70 /sys/dev/fdt
parent27128a4929fff8c172ac72a3af28e877d415ac1c (diff)
Use MUTEX_DEFAULT to avoid confusion
Diffstat (limited to 'sys/dev/fdt')
-rw-r--r--sys/dev/fdt/fdt_intr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/fdt/fdt_intr.c b/sys/dev/fdt/fdt_intr.c
index 5aa6583a72f..e6e3872c492 100644
--- a/sys/dev/fdt/fdt_intr.c
+++ b/sys/dev/fdt/fdt_intr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fdt_intr.c,v 1.25 2020/02/16 20:28:18 thorpej Exp $ */
+/* $NetBSD: fdt_intr.c,v 1.26 2020/03/08 08:25:36 skrll Exp $ */
/*-
* Copyright (c) 2015-2018 Jared McNeill <jmcneill@invisible.ca>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdt_intr.c,v 1.25 2020/02/16 20:28:18 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdt_intr.c,v 1.26 2020/03/08 08:25:36 skrll Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -73,7 +73,7 @@ void
fdtbus_intr_init(void)
{
- mutex_init(&fdtbus_interrupt_cookie_mutex, MUTEX_SPIN, IPL_HIGH);
+ mutex_init(&fdtbus_interrupt_cookie_mutex, MUTEX_DEFAULT, IPL_HIGH);
cv_init(&fdtbus_interrupt_cookie_wait, "fdtintr");
}