mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
cputlb: Pass CPUState to cpu_unlink_tb()
CPUArchState is no longer needed. Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
d77953b94f
commit
907a5e32f2
3 changed files with 7 additions and 6 deletions
2
exec.c
2
exec.c
|
@ -495,7 +495,7 @@ void cpu_exit(CPUArchState *env)
|
|||
CPUState *cpu = ENV_GET_CPU(env);
|
||||
|
||||
cpu->exit_request = 1;
|
||||
cpu_unlink_tb(env);
|
||||
cpu_unlink_tb(cpu);
|
||||
}
|
||||
|
||||
void cpu_abort(CPUArchState *env, const char *fmt, ...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue