Module Name:    src
Committed By:   skrll
Date:           Sun Mar  8 08:25:36 UTC 2020

Modified Files:
        src/sys/dev/fdt: fdt_intr.c

Log Message:
Use MUTEX_DEFAULT to avoid confusion


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/fdt/fdt_intr.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/dev/fdt/fdt_intr.c
diff -u src/sys/dev/fdt/fdt_intr.c:1.25 src/sys/dev/fdt/fdt_intr.c:1.26
--- src/sys/dev/fdt/fdt_intr.c:1.25	Sun Feb 16 20:28:18 2020
+++ src/sys/dev/fdt/fdt_intr.c	Sun Mar  8 08:25:36 2020
@@ -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 <jmcne...@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");
 }
 

Reply via email to