OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3a28d7
)
linux-user/elfload: Remove pointless non-const CPUArchState cast
author
Philippe Mathieu-Daudé
<f4bug@amsat.org>
Mon, 9 May 2022 20:57:26 +0000
(22:57 +0200)
committer
Laurent Vivier
<laurent@vivier.eu>
Mon, 23 May 2022 20:47:19 +0000
(22:47 +0200)
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>
linux-user/elfload.c
patch
|
blob
|
history
diff --git
a/linux-user/elfload.c
b/linux-user/elfload.c
index
8c0765d
..
acc2174
100644
(file)
--- a/
linux-user/elfload.c
+++ b/
linux-user/elfload.c
@@
-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();