proc/cond: spinlock fix condWait
@@ -58,6 +58,7 @@ int proc_condWait(unsigned int c, unsigned int m, time_t timeout)
proc_threadUnprotect();
+ hal_spinlockSet(&lock->spinlock);
_proc_lockClear(lock);
if (!(err = proc_threadWait(&rc->waitq, &lock->spinlock, timeout)))
