X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=qemu-tls.h;h=b92ea9d7da30f26964c4814425b8067b3399ec47;hb=b0b6862e5e1a1394e0ab3d5da94ba8b0da8664e2;hp=5b70f10f8f4dc14c879af1ca98c4eadd441cd2a3;hpb=c51d9cb5b6e2fde9878d2be23dab389c2882de93;p=qemu.git diff --git a/qemu-tls.h b/qemu-tls.h index 5b70f10f8..b92ea9d7d 100644 --- a/qemu-tls.h +++ b/qemu-tls.h @@ -41,12 +41,12 @@ #ifdef __linux__ #define DECLARE_TLS(type, x) extern DEFINE_TLS(type, x) #define DEFINE_TLS(type, x) __thread __typeof__(type) tls__##x -#define get_tls(x) tls__##x +#define tls_var(x) tls__##x #else /* Dummy implementations which define plain global variables */ #define DECLARE_TLS(type, x) extern DEFINE_TLS(type, x) #define DEFINE_TLS(type, x) __typeof__(type) tls__##x -#define get_tls(x) tls__##x +#define tls_var(x) tls__##x #endif #endif