]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user: Split out do_syscall1
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 18 Aug 2018 19:01:04 +0000 (12:01 -0700)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 21 Aug 2018 17:42:52 +0000 (19:42 +0200)
commitdc1ce18b2bfcd4a759a4cb8c0fc513be887a679b
treeb80548cce62b48e7095f3d512418c0901463946d
parent8a85e5dd3b3e11a6f92f70a7ec4fb7c871885206
linux-user: Split out do_syscall1

There was supposed to be a single point of return for do_syscall
so that tracing works properly.  However, there are a few bugs
in that area.  It is significantly simpler to simply split out
an inner function to enforce this.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20180818190118.12911-3-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/syscall.c