summaryrefslogtreecommitdiffstats
path: root/linux-user
diff options
context:
space:
mode:
authorPeter Crosthwaite2015-06-24 04:31:17 +0200
committerAndreas Färber2015-07-09 15:20:40 +0200
commit3d57f7893c90d911d786cb2c622b0926fc808b57 (patch)
tree3bbc92f2a940392f785eb6e6ec6d638a1318c7eb /linux-user
parentgdbstub: Change gdbserver_fork() to accept cpu instead of env (diff)
downloadqemu-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 'linux-user')
0 files changed, 0 insertions, 0 deletions