diff options
Diffstat (limited to 'src/arm/Ginit_local.c')
-rw-r--r-- | src/arm/Ginit_local.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arm/Ginit_local.c b/src/arm/Ginit_local.c index e13519b7..8679805d 100644 --- a/src/arm/Ginit_local.c +++ b/src/arm/Ginit_local.c @@ -41,7 +41,7 @@ unw_init_local_common (unw_cursor_t *cursor, unw_context_t *uc, unsigned use_pre { struct cursor *c = (struct cursor *) cursor; - if (!tdep_init_done) + if (!atomic_load(&tdep_init_done)) tdep_init (); Debug (1, "(cursor=%p)\n", c); |