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 /cpu-all.h | |
parent | 75dfbc16cf8a7a6a0db461cf0f77f0cca40bb654 (diff) |
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 'cpu-all.h')
-rw-r--r-- | cpu-all.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -336,7 +336,7 @@ void QEMU_NORETURN cpu_abort(CPUState *env, const char *fmt, ...) GCC_FMT_ATTR(2, 3); extern CPUState *first_cpu; DECLARE_TLS(CPUState *,cpu_single_env); -#define cpu_single_env get_tls(cpu_single_env) +#define cpu_single_env tls_var(cpu_single_env) /* Flags for use in ENV->INTERRUPT_PENDING. |