diff --git a/src/ia64/set_caching_policy-ia64.c b/src/ia64/set_caching_policy-ia64.c index cb0f2135..adbc2f84 100644 --- a/src/ia64/set_caching_policy-ia64.c +++ b/src/ia64/set_caching_policy-ia64.c @@ -36,7 +36,7 @@ unw_set_caching_policy (unw_addr_space_t as, unw_caching_policy_t policy) #ifndef HAVE___THREAD if (policy == UNW_CACHE_PER_THREAD) - return -UNW_EINVAL; + policy = UNW_CACHE_GLOBAL; #endif as->caching_policy = policy;