diff options
author | Andreas Färber <afaerber@suse.de> | 2013-08-26 06:03:38 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-03-13 19:20:46 +0100 |
commit | 8cd70437f385fc53f34481d506cf4a18ebe75976 (patch) | |
tree | 3eb662386197cdda01b3576974d9515d4b707ef3 /cputlb.c | |
parent | 28ecfd7a62fafe8f4f0b35a157005f4d13913043 (diff) | |
download | qemu-8cd70437f385fc53f34481d506cf4a18ebe75976.zip qemu-8cd70437f385fc53f34481d506cf4a18ebe75976.tar.gz qemu-8cd70437f385fc53f34481d506cf4a18ebe75976.tar.bz2 |
cpu: Move tb_jmp_cache field from CPU_COMMON to CPUState
Clear it on reset.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'cputlb.c')
-rw-r--r-- | cputlb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ void tlb_flush(CPUArchState *env, int flush_global) cpu->current_tb = NULL; memset(env->tlb_table, -1, sizeof(env->tlb_table)); - memset(env->tb_jmp_cache, 0, sizeof(env->tb_jmp_cache)); + memset(cpu->tb_jmp_cache, 0, sizeof(cpu->tb_jmp_cache)); env->tlb_flush_addr = -1; env->tlb_flush_mask = 0; |