diff --git a/src/ia64/global-ia64.c b/src/ia64/global-ia64.c index 8b788b98..396875df 100644 --- a/src/ia64/global-ia64.c +++ b/src/ia64/global-ia64.c @@ -88,8 +88,6 @@ ia64_init (void) /* another thread else beat us to it... */ goto out; - unw.needs_initialization = 0; - mi_init (); mempool_init (&unw.reg_state_pool, sizeof (struct ia64_reg_state), 0); @@ -136,6 +134,7 @@ ia64_init (void) } # endif #endif + unw.needs_initialization = 0; /* signal that we're initialized... */ } out: mutex_unlock (&unw.lock);