On Thu, Mar 10, 2022 at 3:55 AM Philippe Mathieu-Daudé
<philippe.mathieu.da...@gmail.com> wrote:
>
> From: Philippe Mathieu-Daudé <f4...@amsat.org>
>
> Commit e0220bb5b2 made cpus.c target-agnostic but didn't notice
> the cpu_list() function is only defined in target-specific code
> in "cpu.h". Extract list_cpus() from the generic cpus.c into a
> new target-specific unit.
>
> Fixes: e0220bb5b2 ("softmmu: Build target-agnostic objects once")
> Reported-by: Max Filippov <jcmvb...@gmail.com>
> Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org>
> ---
>  softmmu/cpus.c      |  8 --------
>  softmmu/cpus_list.c | 36 ++++++++++++++++++++++++++++++++++++
>  softmmu/meson.build |  1 +
>  3 files changed, 37 insertions(+), 8 deletions(-)
>  create mode 100644 softmmu/cpus_list.c

Tested-by: Max Filippov <jcmvb...@gmail.com>

-- 
Thanks.
-- Max

Reply via email to