]> git.proxmox.com Git - mirror_qemu.git/commitdiff
target/alpha: remove tlb_flush from alpha_cpu_initfn
authorEmilio G. Cota <cota@braap.org>
Tue, 9 Oct 2018 17:45:52 +0000 (13:45 -0400)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 19 Oct 2018 01:58:10 +0000 (18:58 -0700)
As far as I can tell tlb_flush does not need to be called
this early. tlb_flush is eventually called after the CPU
has been realized.

This change paves the way to the introduction of tlb_init,
which will be called from cpu_exec_realizefn.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <20181009174557.16125-2-cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/alpha/cpu.c

index b08078e7fc0e9b2ba37bd6fea5014d8a017dbec6..a953897fccbe6a897276c6651d0e9d00b7fe3811 100644 (file)
@@ -201,7 +201,6 @@ static void alpha_cpu_initfn(Object *obj)
     CPUAlphaState *env = &cpu->env;
 
     cs->env_ptr = env;
-    tlb_flush(cs);
 
     env->lock_addr = -1;
 #if defined(CONFIG_USER_ONLY)