From db9aa81e239bb1c46b3b7ba560474cd954b78bf3 Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 4 Apr 2002 21:03:38 +0000 Subject: Change callers of mtx_init() to pass in an appropriate lock type name. In most cases NULL is passed, but in some cases such as network driver locks (which use the MTX_NETWORK_LOCK macro) and UMA zone locks, a name is used. Tested on: i386, alpha, sparc64 --- sys/kern/kern_intr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/kern_intr.c') diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c index 23ca98f..4020a19 100644 --- a/sys/kern/kern_intr.c +++ b/sys/kern/kern_intr.c @@ -183,7 +183,7 @@ ithread_create(struct ithd **ithread, int vector, int flags, ithd->it_enable = enable; ithd->it_flags = flags; TAILQ_INIT(&ithd->it_handlers); - mtx_init(&ithd->it_lock, "ithread", MTX_DEF); + mtx_init(&ithd->it_lock, "ithread", NULL, MTX_DEF); mtx_lock(&ithd->it_lock); va_start(ap, fmt); -- cgit v1.1