On 3/4/25 16:52, Philippe Mathieu-Daudé wrote:
No need to include the huge "hw/core/cpu.h" header to
get a simple prototype declaration such target_name().
Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
include/hw/core/cpu.h | 2 --
include/qemu/arch_info.h | 2 ++
arch_info-target.c | 5 +++++
cpu-target.c | 5 -----
hw/core/machine-qmp-cmds.c | 1 +
system/vl.c | 1 -
6 files changed, 8 insertions(+), 8 deletions(-)
You should mention moving the function as well. Otherwise,
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~