Tsk. Now that we're not using our own locks, we have to remember
to grab Giant in isp_kthread so that msleep is *happy* that there's no lock being passed to it (as tsleep turns out to be...)
This commit is contained in:
parent
f9cecca2d4
commit
ee76282ef5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user