diff options
| author | Paolo Bonzini | 2015-08-26 00:17:58 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2015-09-09 15:34:53 +0200 |
| commit | f240eb6fdcf63a5600e15fb44c6960586459a97f (patch) | |
| tree | 2b354a527fe9e1bc8e0c1597374e75c318a8e138 /exec.c | |
| parent | tcg: introduce tcg_current_cpu (diff) | |
| download | qemu-f240eb6fdcf63a5600e15fb44c6960586459a97f.tar.gz qemu-f240eb6fdcf63a5600e15fb44c6960586459a97f.tar.xz qemu-f240eb6fdcf63a5600e15fb44c6960586459a97f.zip | |
remove qemu/tls.h
TLS is now required on all platforms, so DECLARE_TLS/DEFINE_TLS is not
needed anymore. Removing it does not break Windows because of the
previous patch.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'exec.c')
| -rw-r--r-- | exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -90,7 +90,7 @@ static MemoryRegion io_mem_unassigned; struct CPUTailQ cpus = QTAILQ_HEAD_INITIALIZER(cpus); /* current CPU in the current thread. It is only valid inside cpu_exec() */ -DEFINE_TLS(CPUState *, current_cpu); +__thread CPUState *current_cpu; /* 0 = Do not count executed instructions. 1 = Precise instruction counting. 2 = Adaptive rate instruction counting. */ |
