mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
e87b7cb0f0
commit
618ba8e6a1
16 changed files with 20 additions and 23 deletions
|
@ -54,7 +54,7 @@ static void do_restore_state (void *pc_ptr)
|
|||
|
||||
tb = tb_find_pc (pc);
|
||||
if (tb) {
|
||||
cpu_restore_state (tb, env, pc, NULL);
|
||||
cpu_restore_state(tb, env, pc);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
@ -1972,7 +1972,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);
|
||||
}
|
||||
}
|
||||
helper_raise_exception_err(env->exception_index, env->error_code);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue