accel: Fix typo and grammar in comment
authorStefan Weil <sw@weilnetz.de>
Thu, 12 Jul 2018 19:44:54 +0000 (21:44 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Jul 2018 14:58:16 +0000 (16:58 +0200)
The typo was found by codespell.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Message-Id: <20180712194454.26765-1-sw@weilnetz.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/tcg/translate-all.c

index 49d77fad44e8098a41b080bf550a2bc35474bdd9..1571987113b2f98bb45cda23385083f5bcb82974 100644 (file)
@@ -1795,7 +1795,7 @@ TranslationBlock *tb_gen_code(CPUState *cpu,
     tb->jmp_dest[0] = (uintptr_t)NULL;
     tb->jmp_dest[1] = (uintptr_t)NULL;
 
-    /* init original jump addresses wich has been set during tcg_gen_code() */
+    /* init original jump addresses which have been set during tcg_gen_code() */
     if (tb->jmp_reset_offset[0] != TB_JMP_RESET_OFFSET_INVALID) {
         tb_reset_jump(tb, 0);
     }