hw/ppc: Do not open-code cpu_resume() in spin_kick()
In order to make the code easier to follow / review, use the cpu_resume() helper instead of open-coding it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20250924173028.53658-2-philmd@linaro.org>
This commit is contained in:
parent
6a9d1ccd39
commit
9df035ecf7
1 changed files with 1 additions and 2 deletions
|
|
@ -99,8 +99,7 @@ static void spin_kick(CPUState *cs, run_on_cpu_data data)
|
|||
|
||||
cs->halted = 0;
|
||||
cs->exception_index = -1;
|
||||
cs->stopped = false;
|
||||
qemu_cpu_kick(cs);
|
||||
cpu_resume(cs);
|
||||
}
|
||||
|
||||
static void spin_write(void *opaque, hwaddr addr, uint64_t value,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue