]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/xtensa: Move has_work() from CPUClass to SysemuCPUOps
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 21 Jan 2025 12:10:30 +0000 (13:10 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 9 Mar 2025 16:00:47 +0000 (17:00 +0100)
commitf37799c6c1d2e8fb43f5e1f100f26c5401d9b3ff
treebc4e638b67a03d147188de391fca1a8807473393
parentd55ea95f256f1300edea837136f2a3841d20c588
target/xtensa: Move has_work() from CPUClass to SysemuCPUOps

Move has_work() from CPUClass to SysemuCPUOps, simplifying
xtensa_cpu_has_work() by directly using CPU env.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250125170125.32855-24-philmd@linaro.org>
target/xtensa/cpu.c