diff options
Diffstat (limited to 'libitm/config/generic/tls.h')
-rw-r--r-- | libitm/config/generic/tls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libitm/config/generic/tls.h b/libitm/config/generic/tls.h index e282e54817b..6bbdccf2be1 100644 --- a/libitm/config/generic/tls.h +++ b/libitm/config/generic/tls.h @@ -49,7 +49,7 @@ extern __thread gtm_thread_tls _gtm_thr_tls; #ifndef HAVE_ARCH_GTM_THREAD // If the target does not provide optimized access to the thread-local // data, simply access the TLS variable defined above. -static inline gtm_thread *gtm_thr() { return &_gtm_thr_tls.thr; } +static inline gtm_thread *gtm_thr() { return _gtm_thr_tls.thr; } static inline void set_gtm_thr(gtm_thread *x) { _gtm_thr_tls.thr = x; } #endif |