Skip to contentSkip to conversation

accel/tcg: Fix typo in translator_io_start() description

PATCH In review Philippe Mathieu-Daudé 2 participants 2 messages Aug 30, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 accel/tcg: Fix typo in translator_io_start() description

Missed while reviewing commit dfd1b81274
("accel/tcg: Introduce translator_io_start").

---
 include/exec/translator.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/exec/translator.h +1 -1
index a53d3243d4..4e17c4f401 100644
@@ -159,7 +159,7 @@ bool translator_use_goto_tb(DisasContextBase *db, vaddr dest);
  * translator_io_start
  * @db: Disassembly context
  *
- * If icount is enabled, set cpu->can_to_io, adjust db->is_jmp to
+ * If icount is enabled, set cpu->can_do_io, adjust db->is_jmp to
  * DISAS_TOO_MANY if it is still DISAS_NEXT, and return true.
  * Otherwise return false.
  */
Signature · 1 line
2.41.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 13 lines · Philippe Mathieu-Daudé

Missed while reviewing commit dfd1b81274
("accel/tcg: Introduce translator_io_start").

---
  include/exec/translator.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
include/exec/translator.h +0 -0
index a53d3243d4..4e17c4f401 100644

include/exec/translator.h bool translator_use_goto_tb(DisasContextBase *db, vaddr dest); · line 165

Quoted 8 lines
include/exec/translator.h +1 -1
@@ -159,7 +159,7 @@ bool translator_use_goto_tb(DisasContextBase *db, vaddr dest);
   * translator_io_start
   * @db: Disassembly context
   *
- * If icount is enabled, set cpu->can_to_io, adjust db->is_jmp to
+ * If icount is enabled, set cpu->can_do_io, adjust db->is_jmp to
   * DISAS_TOO_MANY if it is still DISAS_NEXT, and return true.
   * Otherwise return false.
   */

And queued to tcg-next.

r~