From 6008862bc2494a2094e15699f4f73fad800b6bcd Mon Sep 17 00:00:00 2001 From: John Baldwin 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/pc98/cbus/sio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/pc98/cbus/sio.c') diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c index 375527ad444e..13695913ba21 100644 --- a/sys/pc98/cbus/sio.c +++ b/sys/pc98/cbus/sio.c @@ -896,7 +896,8 @@ sioprobe(dev, xrid, rclk, noprobe) while (sio_inited != 2) if (atomic_cmpset_int(&sio_inited, 0, 1)) { - mtx_init(&sio_lock, sio_driver_name, (comconsole != -1) ? + mtx_init(&sio_lock, sio_driver_name, NULL, + (comconsole != -1) ? MTX_SPIN | MTX_QUIET : MTX_SPIN); atomic_store_rel_int(&sio_inited, 2); } -- cgit v1.2.3