summaryrefslogtreecommitdiffstats
path: root/qom
diff options
context:
space:
mode:
authorSergey Fedorov2016-05-03 13:04:22 +0200
committerRichard Henderson2016-05-13 02:06:42 +0200
commit3213525f8ab48742db09dab18cb9ae6f36a6c921 (patch)
treef8fa580b2b4823f54da9c3b1d6cc70feb989cb1f /qom
parentcpu-exec: Move TB chaining into tb_find_fast() (diff)
downloadqemu-3213525f8ab48742db09dab18cb9ae6f36a6c921.tar.gz
qemu-3213525f8ab48742db09dab18cb9ae6f36a6c921.tar.xz
qemu-3213525f8ab48742db09dab18cb9ae6f36a6c921.zip
tcg: Remove needless CPUState::current_tb
This field was used for telling cpu_interrupt() to unlink a chain of TBs being executed when it worked that way. Now, cpu_interrupt() don't do this anymore. So we don't need this field anymore. Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com> Signed-off-by: Sergey Fedorov <sergey.fedorov@linaro.org> Message-Id: <1462273462-14036-1-git-send-email-sergey.fedorov@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'qom')
-rw-r--r--qom/cpu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/qom/cpu.c b/qom/cpu.c
index c9007d3d06..751e992de8 100644
--- a/qom/cpu.c
+++ b/qom/cpu.c
@@ -254,7 +254,6 @@ static void cpu_common_reset(CPUState *cpu)
}
cpu->interrupt_request = 0;
- cpu->current_tb = NULL;
cpu->halted = 0;
cpu->mem_io_pc = 0;
cpu->mem_io_vaddr = 0;