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:
Matt Jacob 2002-09-06 18:20:59 +00:00
parent f9cecca2d4
commit ee76282ef5

View File

@ -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