mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-26 09:07:38 +01:00
Remove HAVE___THREAD. This was never tested.
Signed-off-by: Arun Sharma <arun.sharma@google.com>
This commit is contained in:
parent
be02d9ac0d
commit
a5d0c1f8b7
1 changed files with 0 additions and 4 deletions
|
@ -485,10 +485,6 @@ get_rs_cache (unw_addr_space_t as, intrmask_t *saved_maskp)
|
||||||
if (!spin_trylock_irqsave (&cache->busy, *saved_maskp))
|
if (!spin_trylock_irqsave (&cache->busy, *saved_maskp))
|
||||||
return NULL;
|
return NULL;
|
||||||
#else
|
#else
|
||||||
# ifdef HAVE___THREAD
|
|
||||||
if (as->caching_policy == UNW_CACHE_PER_THREAD)
|
|
||||||
cache = &dwarf_per_thread_cache;
|
|
||||||
# endif
|
|
||||||
# ifdef HAVE_ATOMIC_OPS_H
|
# ifdef HAVE_ATOMIC_OPS_H
|
||||||
if (AO_test_and_set (&cache->busy) == AO_TS_SET)
|
if (AO_test_and_set (&cache->busy) == AO_TS_SET)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in a new issue