summaryrefslogtreecommitdiffstats
path: root/accel
diff options
context:
space:
mode:
authorEmilio G. Cota2017-08-05 07:27:30 +0200
committerRichard Henderson2018-06-15 20:18:48 +0200
commit705ad1ff0ce264475cb4c9a3aa31ba94a04869fe (patch)
treef76a00f06227308229c0e347449053fecf9331f7 /accel
parentcputlb: remove tb_lock from tlb_flush functions (diff)
downloadqemu-705ad1ff0ce264475cb4c9a3aa31ba94a04869fe.tar.gz
qemu-705ad1ff0ce264475cb4c9a3aa31ba94a04869fe.tar.xz
qemu-705ad1ff0ce264475cb4c9a3aa31ba94a04869fe.zip
translate-all: remove tb_lock mention from cpu_restore_state_from_tb
tb_lock was needed when the function did retranslation. However, since fca8a500d519 ("tcg: Save insn data and use it in cpu_restore_state_from_tb") we don't do retranslation. Get rid of the comment. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'accel')
-rw-r--r--accel/tcg/translate-all.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c
index 55c9e1b196..b33cd9bc98 100644
--- a/accel/tcg/translate-all.c
+++ b/accel/tcg/translate-all.c
@@ -355,7 +355,6 @@ static int encode_search(TranslationBlock *tb, uint8_t *block)
}
/* The cpu state corresponding to 'searched_pc' is restored.
- * Called with tb_lock held.
* When reset_icount is true, current TB will be interrupted and
* icount should be recalculated.
*/