1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-25 08:37:38 +01:00

(unw_set_caching_policy): Let ia64_init() clear unw.needs_initialization.

(Logical change 1.111)
This commit is contained in:
hp.com!davidm 2003-11-19 03:11:25 +00:00
parent f5f706c35e
commit add6b939a0

View file

@ -29,10 +29,7 @@ int
unw_set_caching_policy (unw_addr_space_t as, unw_caching_policy_t policy)
{
if (unw.needs_initialization)
{
unw.needs_initialization = 0;
ia64_init ();
}
ia64_init ();
#ifndef HAVE___THREAD
if (policy == UNW_CACHE_PER_THREAD)