summaryrefslogtreecommitdiffstats
path: root/target-arm
diff options
context:
space:
mode:
authorAndreas Färber2013-09-01 16:51:34 +0200
committerAndreas Färber2014-03-13 19:20:47 +0100
commit3f38f309b22d9a30b5b427501eb3d522c439482e (patch)
tree9536fe55f500c6f99879a1bc35d2b5efbb22c706 /target-arm
parentcpu-exec: Change cpu_loop_exit() argument to CPUState (diff)
downloadqemu-3f38f309b22d9a30b5b427501eb3d522c439482e.tar.gz
qemu-3f38f309b22d9a30b5b427501eb3d522c439482e.tar.xz
qemu-3f38f309b22d9a30b5b427501eb3d522c439482e.zip
translate-all: Change cpu_restore_state() argument to CPUState
This lets us drop some local variables in tlb_fill() functions. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-arm')
-rw-r--r--target-arm/op_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/op_helper.c b/target-arm/op_helper.c
index f8e535e8ce..21ff58e754 100644
--- a/target-arm/op_helper.c
+++ b/target-arm/op_helper.c
@@ -87,7 +87,7 @@ void tlb_fill(CPUState *cs, target_ulong addr, int is_write, int mmu_idx,
if (retaddr) {
/* now we have a real cpu fault */
- cpu_restore_state(env, retaddr);
+ cpu_restore_state(cs, retaddr);
}
raise_exception(env, cs->exception_index);
}