]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/mips/loongson3_virt: Pass CPU argument to get_cpu_freq_hz()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 12 Jan 2025 20:42:10 +0000 (21:42 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 31 Jan 2025 18:36:43 +0000 (19:36 +0100)
commit72a4da938680edeef2be454a67c0f7db22176a2d
tree089ad16d513ef21b3f0a8e1ffbc4f6e7193b6c9e
parent87fd8a80c734781865318d7d511e735b6f49f8c3
hw/mips/loongson3_virt: Pass CPU argument to get_cpu_freq_hz()

Pass the first vCPU as argument, allowing to remove
another &first_cpu global use.

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