summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/isp_freebsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/isp/isp_freebsd.c')
-rw-r--r--sys/dev/isp/isp_freebsd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c
index fc64147..af93d20 100644
--- a/sys/dev/isp/isp_freebsd.c
+++ b/sys/dev/isp/isp_freebsd.c
@@ -1963,6 +1963,8 @@ isp_kthread(void *arg)
#ifdef ISP_SMPLOCK
mtx_lock(&isp->isp_lock);
+#else
+ mtx_lock(&Giant);
#endif
/*
* The first loop is for our usage where we have yet to have
OpenPOWER on IntegriCloud