From 6886b98036a8f8f5bce8b10756ce080084cef11b Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 17 May 2016 15:18:04 +0100 Subject: cpu-exec: Rename cpu_resume_from_signal() to cpu_loop_exit_noexc() The function cpu_resume_from_signal() is now always called with a NULL puc argument, and is rather misnamed since it is never called from a signal handler. It is essentially forcing an exit to the top level cpu loop but without raising any exception, so rename it to cpu_loop_exit_noexc() and drop the useless unused argument. Signed-off-by: Peter Maydell Reviewed-by: Sergey Fedorov Acked-by: Eduardo Habkost Acked-by: Riku Voipio Message-id: 1463494687-25947-4-git-send-email-peter.maydell@linaro.org --- user-exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user-exec.c') diff --git a/user-exec.c b/user-exec.c index efd34a6ee4..c5179a410c 100644 --- a/user-exec.c +++ b/user-exec.c @@ -74,7 +74,7 @@ static void cpu_exit_tb_from_sighandler(CPUState *cpu, void *puc) sigprocmask(SIG_SETMASK, &uc->sc_mask, NULL); #endif - cpu_resume_from_signal(cpu, NULL); + cpu_loop_exit_noexc(cpu); } /* 'pc' is the host PC at which the exception was raised. 'address' is -- cgit v1.2.1