target/mips: Remove mips_def_t unused argument from mvp_init()

mvp_init() doesn't require any CPU definition (beside the
information accessible via CPUMIPSState). Remove the unused
argument.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20201204222622.2743175-2-f4bug@amsat.org>
This commit is contained in:
Philippe Mathieu-Daudé 2020-11-30 10:04:39 +01:00
parent 5f3013654e
commit 585c80ad7b
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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));