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 --- cpu-all.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpu-all.h') diff --git a/cpu-all.h b/cpu-all.h index 7246a67236..9d787151e1 100644 --- a/cpu-all.h +++ b/cpu-all.h @@ -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. -- cgit v1.2.3