From 4a2dd92d7b89d00cb8afa90aa588fef44a79aa88 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Mon, 5 Dec 2011 15:18:54 +0100 Subject: Rename get_tls to tls_var get_tls() can serve as a lvalue as well, so 'get' might be confusing. Signed-off-by: Jan Kiszka Signed-off-by: Stefan Hajnoczi --- qemu-tls.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qemu-tls.h') diff --git a/qemu-tls.h b/qemu-tls.h index 5b70f10f8f..b92ea9d7da 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 -- cgit v1.2.3