gallium/util: replace pipe_mutex_unlock() with mtx_unlock()
[mesa.git] / src / gallium / drivers / llvmpipe / lp_fence.c
index e7c4ab6979e25eb9db14743d0ee0606c0fdb7737..20cd91cd63dadb438d540a2bd608657431de04f8 100644 (file)
@@ -101,7 +101,7 @@ lp_fence_signal(struct lp_fence *fence)
     */
    cnd_broadcast(&fence->signalled);
 
-   pipe_mutex_unlock(fence->mutex);
+   mtx_unlock(&fence->mutex);
 }
 
 boolean
@@ -121,7 +121,7 @@ lp_fence_wait(struct lp_fence *f)
    while (f->count < f->rank) {
       cnd_wait(&f->signalled, &f->mutex);
    }
-   pipe_mutex_unlock(f->mutex);
+   mtx_unlock(&f->mutex);
 }