On 1 July 2013 05:35, Stefan Hajnoczi <stefa...@redhat.com> wrote: > From: Paolo Bonzini <pbonz...@redhat.com> > > Fast TLS is not available on some platforms, but it is always nice to > use it. This wrapper implementation falls back to pthread_get/setspecific > on POSIX systems that lack __thread, but uses the dynamic linker's TLS > support on Linux and Windows.
The most recent version of this patch posted by Paolo that I see has: +#if defined(__linux__) || defined(__FreeBSD__) +#define DECLARE_TLS(type, x) \ while this one has only __linux__. Do you mind picking up that change, if this is likely to make it in via your work?