diff options
| author | Peter Crosthwaite | 2015-06-24 04:31:17 +0200 |
|---|---|---|
| committer | Andreas Färber | 2015-07-09 15:20:40 +0200 |
| commit | 3d57f7893c90d911d786cb2c622b0926fc808b57 (patch) | |
| tree | 3bbc92f2a940392f785eb6e6ec6d638a1318c7eb /include | |
| parent | gdbstub: Change gdbserver_fork() to accept cpu instead of env (diff) | |
| download | qemu-3d57f7893c90d911d786cb2c622b0926fc808b57.tar.gz qemu-3d57f7893c90d911d786cb2c622b0926fc808b57.tar.xz qemu-3d57f7893c90d911d786cb2c622b0926fc808b57.zip | |
cpu: Change tcg_cpu_exec() arg to cpu, not env
The sole caller of this function navigates the cpu->env_ptr only for
this function to take it back the cpu pointer straight away. Pass in
cpu pointer instead and grab the env pointer locally in the function.
Removes a core code usage of ENV_GET_CPU().
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
