Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/fdt Use MUTEX_DEFAULT to avoid confusion
details: https://anonhg.NetBSD.org/src/rev/46da7b93bd5c
branches: trunk
changeset: 969985:46da7b93bd5c
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Mar 08 08:25:36 2020 +0000
description:
Use MUTEX_DEFAULT to avoid confusion
diffstat:
sys/dev/fdt/fdt_intr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 216cfc302c37 -r 46da7b93bd5c sys/dev/fdt/fdt_intr.c
--- a/sys/dev/fdt/fdt_intr.c Sun Mar 08 06:44:26 2020 +0000
+++ b/sys/dev/fdt/fdt_intr.c Sun Mar 08 08:25:36 2020 +0000
@@ -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@localhost>
@@ -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");
}
Home |
Main Index |
Thread Index |
Old Index