Re: [PATCH 05/20] cpus: Keep default fields initialization in cpu_common_initfn()

Richard Henderson
2025-01-26T20:00:05Z

On 1/23/25 15:43, Philippe Mathieu-Daudé wrote:
> cpu_common_initfn() is our target agnostic initializer,
> while cpu_exec_initfn() is the target specific one.
>
> The %as and %num_ases fields are not target specific,
> so initialize them in the common helper.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> cpu-target.c | 3 ---
> hw/core/cpu-common.c | 2 ++
> 2 files changed, 2 insertions(+), 3 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~