From 75b47dda0c8895afe77858cbb67efa38e17e1838 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Sun, 5 Mar 2017 12:00:15 +1100 Subject: gallium/util: replace pipe_mutex_init() with mtx_init() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pipe_mutex_init() was made unnecessary with fd33a6bcd7f12. Replace was done using: find ./src -type f -exec sed -i -- \ 's:pipe_mutex_init(\([^)]*\)):(void) mtx_init(\&\1, mtx_plain):g' {} \; Reviewed-by: Marek Olšák --- src/gallium/drivers/llvmpipe/lp_fence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/llvmpipe/lp_fence.c') diff --git a/src/gallium/drivers/llvmpipe/lp_fence.c b/src/gallium/drivers/llvmpipe/lp_fence.c index 115589f8705..04c148395e3 100644 --- a/src/gallium/drivers/llvmpipe/lp_fence.c +++ b/src/gallium/drivers/llvmpipe/lp_fence.c @@ -52,7 +52,7 @@ lp_fence_create(unsigned rank) pipe_reference_init(&fence->reference, 1); - pipe_mutex_init(fence->mutex); + (void) mtx_init(&fence->mutex, mtx_plain); cnd_init(&fence->signalled); fence->id = fence_id++; -- cgit v1.2.3