aboutsummaryrefslogtreecommitdiff
path: root/target-arm/cpu.c
diff options
context:
space:
mode:
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>2015-06-23 19:31:17 -0700
committerAndreas Färber <afaerber@suse.de>2015-07-09 15:20:40 +0200
commit3d57f7893c90d911d786cb2c622b0926fc808b57 (patch)
tree3bbc92f2a940392f785eb6e6ec6d638a1318c7eb /target-arm/cpu.c
parentf7ec7f7b269813603b1d64bb9833f9e711f0115c (diff)
downloadqemu-3d57f7893c90d911d786cb2c622b0926fc808b57.zip
qemu-3d57f7893c90d911d786cb2c622b0926fc808b57.tar.gz
qemu-3d57f7893c90d911d786cb2c622b0926fc808b57.tar.bz2
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 'target-arm/cpu.c')
0 files changed, 0 insertions, 0 deletions