]> git.ipfire.org Git - thirdparty/qemu.git/commit - exec.c
translate-all: Change tb_flush() env argument to cpu
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>
Wed, 24 Jun 2015 02:31:15 +0000 (19:31 -0700)
committerAndreas Färber <afaerber@suse.de>
Thu, 9 Jul 2015 13:20:40 +0000 (15:20 +0200)
commitbbd77c180d7ff1b04a7661bb878939b2e1d23798
tree8d7d0be38bf6a50002dec632d521efa81b6e0e87
parent6dd0f8342ddfbd8db3e3de1a17686cedbc14e9f1
translate-all: Change tb_flush() env argument to cpu

All of the core-code usages of this API have the cpu pointer handy so
pass it in. There are only 3 architecture specific usages (2 of which
are commented out) which can just use ENV_GET_CPU() locally to get the
cpu pointer. The reduces core code usage of the CPU env, which brings
us closer to common-obj'ing these core files.

Cc: Riku Voipio <riku.voipio@iki.fi>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
exec.c
gdbstub.c
include/exec/exec-all.h
linux-user/signal.c
target-alpha/sys_helper.c
target-i386/translate.c
translate-all.c