util/mesa/wide: Rename _SIMPLE_MTX_INITIALIZER_NP to SIMPLE_MTX_INITIALIZER

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18393>
This commit is contained in:
Yonggang Luo
2022-09-03 00:13:15 +08:00
committed by Marge Bot
parent be3c46964b
commit 44ccaca41d
16 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ int ut_perfetto_enabled;
*/
static struct list_head ctx_list = { &ctx_list, &ctx_list };
static simple_mtx_t ctx_list_mutex = _SIMPLE_MTX_INITIALIZER_NP;
static simple_mtx_t ctx_list_mutex = SIMPLE_MTX_INITIALIZER;
#endif
struct u_trace_payload_buf {
+2 -2
View File
@@ -77,7 +77,7 @@ typedef struct {
uint32_t val;
} simple_mtx_t;
#define _SIMPLE_MTX_INITIALIZER_NP { 0 }
#define SIMPLE_MTX_INITIALIZER { 0 }
#define _SIMPLE_MTX_INVALID_VALUE 0xd0d0d0d0
@@ -151,7 +151,7 @@ typedef struct simple_mtx_t {
mtx_t mtx;
} simple_mtx_t;
#define _SIMPLE_MTX_INITIALIZER_NP { UTIL_ONCE_FLAG_INIT }
#define SIMPLE_MTX_INITIALIZER { UTIL_ONCE_FLAG_INIT }
void _simple_mtx_plain_init_once(simple_mtx_t *mtx);