]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/mips/loongson3_virt: Propagate %processor_id to init_boot_param()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 12 Jan 2025 20:39:54 +0000 (21:39 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 31 Jan 2025 18:36:43 +0000 (19:36 +0100)
commit92c63c9afdf462e949ca8e74dba6b3abf44f993d
tree040d4635d19696dd697c71e155ac0cd372794514
parent7eb372cc8bed1639e43529632a4fbb8b3f645194
hw/mips/loongson3_virt: Propagate %processor_id to init_boot_param()

Propagate %processor_id from mips_loongson3_virt_init() where
we have a reference to the first vCPU, so use it instead of
the &first_cpu global.

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