linux-user/elfload: Remove pointless non-const CPUArchState cast
fill_thread_info() takes a pointer to const. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220509205728.51912-2-philippe.mathieu.daude@gmail.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
c3a28d7122
commit
2f6f4290e0
@ -3973,7 +3973,7 @@ static int fill_note_info(struct elf_note_info *info,
|
||||
if (cpu == thread_cpu) {
|
||||
continue;
|
||||
}
|
||||
fill_thread_info(info, (CPUArchState *)cpu->env_ptr);
|
||||
fill_thread_info(info, cpu->env_ptr);
|
||||
}
|
||||
cpu_list_unlock();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user