cpus: Keep default fields initialization in cpu_common_initfn()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 16 Jan 2025 17:45:41 +0000 (18:45 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 6 Mar 2025 14:46:17 +0000 (15:46 +0100)
commit6042c47cddae04d0c1f0c750968f66a553611f40
treed3d3273c01b11ac2778cd3a4f204ba38a84b7f10
parent0e86d7a71e8b5af201f2066a56071d3e23f4693c
cpus: Keep default fields initialization in cpu_common_initfn()

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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250123234415.59850-6-philmd@linaro.org>
cpu-target.c
hw/core/cpu-common.c