aboutsummaryrefslogtreecommitdiff
path: root/target-lm32
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-04-18 06:39:53 +0000
committerStefan Weil <weil@mail.berlios.de>2011-04-20 10:37:03 +0200
commit618ba8e6a1313df6a8366ac8ffee47e3f885ac90 (patch)
treef9d4131c1bfee51372cbc01aca7bf89505c57a84 /target-lm32
parente87b7cb0f0e04d7c4510564530ab00ed4db37a45 (diff)
downloadqemu-618ba8e6a1313df6a8366ac8ffee47e3f885ac90.zip
qemu-618ba8e6a1313df6a8366ac8ffee47e3f885ac90.tar.gz
qemu-618ba8e6a1313df6a8366ac8ffee47e3f885ac90.tar.bz2
Remove unused function parameter from cpu_restore_state
The previous patch removed the need for parameter puc. Is is now unused, so remove it. Cc: Aurelien Jarno <aurelien@aurel32.net> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Diffstat (limited to 'target-lm32')
-rw-r--r--target-lm32/op_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-lm32/op_helper.c b/target-lm32/op_helper.c
index e84ba48..c72b1df 100644
--- a/target-lm32/op_helper.c
+++ b/target-lm32/op_helper.c
@@ -95,7 +95,7 @@ void tlb_fill(target_ulong addr, int is_write, int mmu_idx, void *retaddr)
if (tb) {
/* the PC is inside the translated code. It means that we have
a virtual CPU fault */
- cpu_restore_state(tb, env, pc, NULL);
+ cpu_restore_state(tb, env, pc);
}
}
cpu_loop_exit();