diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-12-05 15:18:54 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2011-12-06 10:07:04 +0000 |
commit | 4a2dd92d7b89d00cb8afa90aa588fef44a79aa88 (patch) | |
tree | 7cb3408ad434af8f4d83ed9129376c7fd95feea2 /qemu-tls.h | |
parent | 75dfbc16cf8a7a6a0db461cf0f77f0cca40bb654 (diff) | |
download | qemu-4a2dd92d7b89d00cb8afa90aa588fef44a79aa88.zip qemu-4a2dd92d7b89d00cb8afa90aa588fef44a79aa88.tar.gz qemu-4a2dd92d7b89d00cb8afa90aa588fef44a79aa88.tar.bz2 |
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 <jan.kiszka@siemens.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'qemu-tls.h')
-rw-r--r-- | qemu-tls.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |