mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
cpu: Change cpu_exit() argument to CPUState
It no longer depends on CPUArchState, so move it to qom/cpu.c. Prepares for changing GDBState::c_cpu to CPUState. Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
cb446ecab7
commit
60a3e17a46
13 changed files with 24 additions and 20 deletions
|
@ -160,7 +160,7 @@ static inline void start_exclusive(void)
|
|||
other_cpu = ENV_GET_CPU(other);
|
||||
if (other_cpu->running) {
|
||||
pending_cpus++;
|
||||
cpu_exit(other);
|
||||
cpu_exit(other_cpu);
|
||||
}
|
||||
}
|
||||
if (pending_cpus > 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue