]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/mips/loongson3_virt: Invert vCPU creation order to remove &first_cpu
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 12 Jan 2025 20:01:24 +0000 (21:01 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 31 Jan 2025 18:36:42 +0000 (19:36 +0100)
commit2bf8545603e3388c33745b41dc797fef7b2224aa
tree6309ab956ac8739f2adb179c57a7c8ed6b06b486
parent6286423b8bae2dafb5209a2e45d3ad30d75d146d
hw/mips/loongson3_virt: Invert vCPU creation order to remove &first_cpu

Create vCPUs from the last one to the first one.
No need to use the &first_cpu global since we already
have it referenced.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20250115232952.31166-3-philmd@linaro.org>
hw/mips/loongson3_virt.c