diff options
author | Timothy Arceri <[email protected]> | 2017-03-05 12:12:30 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-07 08:52:38 +1100 |
commit | ba72554f3e576c1674d52ab16d8d2edff9398b71 (patch) | |
tree | 317c80f33ea1edcf238d3545ff1a6104a7d55fc8 /src/gallium/drivers/trace | |
parent | be188289e1bf0e259c91a751c405d54bb99bc5d4 (diff) |
gallium/util: replace pipe_mutex_lock() with mtx_lock()
replace pipe_mutex_lock() was made unnecessary with fd33a6bcd7f12.
Replaced using:
find ./src -type f -exec sed -i -- \
's:pipe_mutex_lock(\([^)]*\)):mtx_lock(\&\1):g' {} \;
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/trace')
-rw-r--r-- | src/gallium/drivers/trace/tr_dump.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/trace/tr_dump.c b/src/gallium/drivers/trace/tr_dump.c index b052e2a573e..2df4f833523 100644 --- a/src/gallium/drivers/trace/tr_dump.c +++ b/src/gallium/drivers/trace/tr_dump.c @@ -302,7 +302,7 @@ boolean trace_dump_trace_enabled(void) void trace_dump_call_lock(void) { - pipe_mutex_lock(call_mutex); + mtx_lock(&call_mutex); } void trace_dump_call_unlock(void) @@ -331,14 +331,14 @@ boolean trace_dumping_enabled_locked(void) void trace_dumping_start(void) { - pipe_mutex_lock(call_mutex); + mtx_lock(&call_mutex); trace_dumping_start_locked(); pipe_mutex_unlock(call_mutex); } void trace_dumping_stop(void) { - pipe_mutex_lock(call_mutex); + mtx_lock(&call_mutex); trace_dumping_stop_locked(); pipe_mutex_unlock(call_mutex); } @@ -346,7 +346,7 @@ void trace_dumping_stop(void) boolean trace_dumping_enabled(void) { boolean ret; - pipe_mutex_lock(call_mutex); + mtx_lock(&call_mutex); ret = trace_dumping_enabled_locked(); pipe_mutex_unlock(call_mutex); return ret; @@ -395,7 +395,7 @@ void trace_dump_call_end_locked(void) void trace_dump_call_begin(const char *klass, const char *method) { - pipe_mutex_lock(call_mutex); + mtx_lock(&call_mutex); trace_dump_call_begin_locked(klass, method); } |