]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/acpi: Prefer cached CpuClass over CPU_GET_CLASS() macro
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 21 Jan 2025 11:11:43 +0000 (12:11 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 9 Mar 2025 16:00:47 +0000 (17:00 +0100)
commitbd7d74283464491b461bb1136e69963962fd05aa
treebda236979980eb36023b696882e43a762766b4ec
parent0368d8d189af0444cd818f4f695beb1d94706f44
hw/acpi: Prefer cached CpuClass over CPU_GET_CLASS() macro

CpuState caches its CPUClass since commit 6fbdff87062
("cpu: cache CPUClass in CPUState for hot code paths"),
use it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250122093028.52416-10-philmd@linaro.org>
hw/acpi/cpu.c
hw/acpi/cpu_hotplug.c