diff options
Diffstat (limited to 'src/third_party/unwind/dist/src/arm/Ginit_remote.c')
-rw-r--r-- | src/third_party/unwind/dist/src/arm/Ginit_remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/unwind/dist/src/arm/Ginit_remote.c b/src/third_party/unwind/dist/src/arm/Ginit_remote.c index 9b8ba5b89de..26d11ba942b 100644 --- a/src/third_party/unwind/dist/src/arm/Ginit_remote.c +++ b/src/third_party/unwind/dist/src/arm/Ginit_remote.c @@ -33,7 +33,7 @@ unw_init_remote (unw_cursor_t *cursor, unw_addr_space_t as, void *as_arg) #else /* !UNW_LOCAL_ONLY */ struct cursor *c = (struct cursor *) cursor; - if (!tdep_init_done) + if (!atomic_load(&tdep_init_done)) tdep_init (); Debug (1, "(cursor=%p)\n", c); |