diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2022-05-09 22:57:27 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2022-05-23 22:47:19 +0200 |
commit | a0939b89161a756a7f58cab2bec0a2410c5d0b5f (patch) | |
tree | 22144adc8a978444d2b88bd999ec12b7efa6d395 /linux-user/uname.c | |
parent | 2f6f4290e0f0f3a8ea49a81afebd2d41c327477f (diff) |
linux-user: Have do_syscall() use CPUArchState* instead of void*
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220509205728.51912-3-philippe.mathieu.daude@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/uname.c')
-rw-r--r-- | linux-user/uname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/uname.c b/linux-user/uname.c index 415fdf31b6..1e3e98156d 100644 --- a/linux-user/uname.c +++ b/linux-user/uname.c @@ -28,7 +28,7 @@ * NB: the default emulated CPU ("any") might not match any existing CPU, e.g. * on ARM it has all features turned on, so there is no perfect arch string to * return here */ -const char *cpu_to_uname_machine(void *cpu_env) +const char *cpu_to_uname_machine(CPUArchState *cpu_env) { #if defined(TARGET_ARM) && !defined(TARGET_AARCH64) |