Sun Mar 8 08:25:36 2020 UTC ()
Use MUTEX_DEFAULT to avoid confusion


(skrll)
diff -r1.25 -r1.26 src/sys/dev/fdt/fdt_intr.c

cvs diff -r1.25 -r1.26 src/sys/dev/fdt/fdt_intr.c (expand / switch to context diff)
--- src/sys/dev/fdt/fdt_intr.c 2020/02/16 20:28:18 1.25
+++ src/sys/dev/fdt/fdt_intr.c 2020/03/08 08:25:36 1.26
@@ -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 @@
 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");
 }