diff mbox

[3/4] target-sparc: Don't flush TLB in cpu_load function

Message ID 1439210072-11028-4-git-send-email-peter.maydell@linaro.org
State New
Headers show

Commit Message

Peter Maydell Aug. 10, 2015, 12:34 p.m. UTC
There's no need to flush the TLB in the SPARC cpu_load function: we're
guaranteed to be loading state into a fresh clean configuration.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 target-sparc/machine.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

diff --git a/target-sparc/machine.c b/target-sparc/machine.c
index 3f3de4c..7d03759 100644
--- a/target-sparc/machine.c
+++ b/target-sparc/machine.c
@@ -213,6 +213,5 @@  int cpu_load(QEMUFile *f, void *opaque, int version_id)
     qemu_get_be64s(f, &env->ssr);
     cpu_get_timer(f, env->hstick);
 #endif
-    tlb_flush(CPU(cpu), 1);
     return 0;
 }