diff mbox series

[1/3] target/avr: Drop tlb_flush() in avr_cpu_reset()

Message ID 20200707064646.7603-2-f4bug@amsat.org
State New
Headers show
Series [1/3] target/avr: Drop tlb_flush() in avr_cpu_reset() | expand

Commit Message

Philippe Mathieu-Daudé July 7, 2020, 6:46 a.m. UTC
Since commit 1f5c00cfdb tlb_flush() is called from cpu_common_reset().

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 target/avr/cpu.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/target/avr/cpu.c b/target/avr/cpu.c
index 4e4dd4f6aa..50fb1c378b 100644
--- a/target/avr/cpu.c
+++ b/target/avr/cpu.c
@@ -78,8 +78,6 @@  static void avr_cpu_reset(DeviceState *ds)
     env->skip = 0;
 
     memset(env->r, 0, sizeof(env->r));
-
-    tlb_flush(cs);
 }
 
 static void avr_cpu_disas_set_info(CPUState *cpu, disassemble_info *info)