aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Harris <jimharris@FreeBSD.org>2012-09-24 21:40:22 +0000
committerJim Harris <jimharris@FreeBSD.org>2012-09-24 21:40:22 +0000
commit95161fc323a41ba9a78fea590f06d1ef7c65efaf (patch)
tree7e489892e446d303a06796c87eb540260f33c6b4
parent03682514566ce875b3028741d1d7124b05ffa99e (diff)
Notes
-rw-r--r--sys/dev/tws/tws.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/tws/tws.c b/sys/dev/tws/tws.c
index b1615db07d26..d156d4067602 100644
--- a/sys/dev/tws/tws.c
+++ b/sys/dev/tws/tws.c
@@ -197,7 +197,7 @@ tws_attach(device_t dev)
mtx_init( &sc->q_lock, "tws_q_lock", NULL, MTX_DEF);
mtx_init( &sc->sim_lock, "tws_sim_lock", NULL, MTX_DEF);
mtx_init( &sc->gen_lock, "tws_gen_lock", NULL, MTX_DEF);
- mtx_init( &sc->io_lock, "tws_io_lock", NULL, MTX_DEF);
+ mtx_init( &sc->io_lock, "tws_io_lock", NULL, MTX_DEF | MTX_RECURSE);
if ( tws_init_trace_q(sc) == FAILURE )
printf("trace init failure\n");