aboutsummaryrefslogtreecommitdiff
path: root/translate-all.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-09-01 17:52:07 +0200
committerAndreas Färber <afaerber@suse.de>2014-03-13 19:20:48 +0100
commit611d4f996f650294483ff4b01c3140651e2dd29c (patch)
tree94808c5ae0adabd499b28f734d33db2a5fe5452b /translate-all.c
parent648f034c6cd81c64d93a1cfd7bb262006f560649 (diff)
translate-all: Change tb_flush_jmp_cache() argument to CPUState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'translate-all.c')
-rw-r--r--translate-all.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/translate-all.c b/translate-all.c
index a7130a5a43..df85f9f8c5 100644
--- a/translate-all.c
+++ b/translate-all.c
@@ -1479,9 +1479,8 @@ void cpu_io_recompile(CPUState *cpu, uintptr_t retaddr)
cpu_resume_from_signal(env, NULL);
}
-void tb_flush_jmp_cache(CPUArchState *env, target_ulong addr)
+void tb_flush_jmp_cache(CPUState *cpu, target_ulong addr)
{
- CPUState *cpu = ENV_GET_CPU(env);
unsigned int i;
/* Discard jump cache entries for any tb which might potentially