Message ID | 20201213201946.236123-17-f4bug@amsat.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [PULL,01/26] MAINTAINERS: chenhc@lemote.com -> chenhuacai@kernel.org | expand |
diff --git a/target/mips/translate.c b/target/mips/translate.c index e87f472a8d1..f218997f049 100644 --- a/target/mips/translate.c +++ b/target/mips/translate.c @@ -31763,7 +31763,7 @@ void cpu_mips_realize_env(CPUMIPSState *env) mmu_init(env, env->cpu_model); #endif fpu_init(env, env->cpu_model); - mvp_init(env, env->cpu_model); + mvp_init(env); } bool cpu_type_supports_cps_smp(const char *cpu_type) diff --git a/target/mips/translate_init.c.inc b/target/mips/translate_init.c.inc index 79f75ed863c..5a926bc6df3 100644 --- a/target/mips/translate_init.c.inc +++ b/target/mips/translate_init.c.inc @@ -989,7 +989,7 @@ static void fpu_init (CPUMIPSState *env, const mips_def_t *def) memcpy(&env->active_fpu, &env->fpus[0], sizeof(env->active_fpu)); } -static void mvp_init (CPUMIPSState *env, const mips_def_t *def) +static void mvp_init(CPUMIPSState *env) { env->mvp = g_malloc0(sizeof(CPUMIPSMVPContext));