Message ID | 20240313213339.82071-6-philmd@linaro.org |
---|---|
State | New |
Headers | show |
Series | accel/tcg: Finish replacing SOFTMMU -> SYSTEM | expand |
On Thu Mar 14, 2024 at 7:33 AM AEST, Philippe Mathieu-Daudé wrote: > Unify with other init_excp_FOO() in the same file. > > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Acked-by: Nicholas Piggin <npiggin@gmail.com> > --- > target/ppc/cpu_init.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/target/ppc/cpu_init.c b/target/ppc/cpu_init.c > index 7e65f08147..b208bd91a0 100644 > --- a/target/ppc/cpu_init.c > +++ b/target/ppc/cpu_init.c > @@ -1642,7 +1642,7 @@ static void register_8xx_sprs(CPUPPCState *env) > > /*****************************************************************************/ > /* Exception vectors models */ > -static void init_excp_4xx_softmmu(CPUPPCState *env) > +static void init_excp_4xx(CPUPPCState *env) > { > #if !defined(CONFIG_USER_ONLY) > env->excp_vectors[POWERPC_EXCP_CRITICAL] = 0x00000100; > @@ -2120,7 +2120,7 @@ static void init_proc_405(CPUPPCState *env) > env->id_tlbs = 0; > env->tlb_type = TLB_EMB; > #endif > - init_excp_4xx_softmmu(env); > + init_excp_4xx(env); > env->dcache_line_size = 32; > env->icache_line_size = 32; > /* Allocate hardware IRQ controller */
diff --git a/target/ppc/cpu_init.c b/target/ppc/cpu_init.c index 7e65f08147..b208bd91a0 100644 --- a/target/ppc/cpu_init.c +++ b/target/ppc/cpu_init.c @@ -1642,7 +1642,7 @@ static void register_8xx_sprs(CPUPPCState *env) /*****************************************************************************/ /* Exception vectors models */ -static void init_excp_4xx_softmmu(CPUPPCState *env) +static void init_excp_4xx(CPUPPCState *env) { #if !defined(CONFIG_USER_ONLY) env->excp_vectors[POWERPC_EXCP_CRITICAL] = 0x00000100; @@ -2120,7 +2120,7 @@ static void init_proc_405(CPUPPCState *env) env->id_tlbs = 0; env->tlb_type = TLB_EMB; #endif - init_excp_4xx_softmmu(env); + init_excp_4xx(env); env->dcache_line_size = 32; env->icache_line_size = 32; /* Allocate hardware IRQ controller */
Unify with other init_excp_FOO() in the same file. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- target/ppc/cpu_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)