]> Git Repo - qemu.git/commitdiff
translate-all: remove tb_lock mention from cpu_restore_state_from_tb
authorEmilio G. Cota <[email protected]>
Sat, 5 Aug 2017 05:27:30 +0000 (01:27 -0400)
committerRichard Henderson <[email protected]>
Fri, 15 Jun 2018 18:18:48 +0000 (08:18 -1000)
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 <[email protected]>
Signed-off-by: Emilio G. Cota <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
accel/tcg/translate-all.c

index 55c9e1b19609b240d58fc27953d7bc9e178269e1..b33cd9bc9845ec98ffbbe0b46e004c6edd7f6e61 100644 (file)
@@ -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.
  */
This page took 0.029624 seconds and 4 git commands to generate.