qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 15/16] hw/arm/boot: Drop nb_cpus field from arm_boot_info


From: Richard Henderson
Subject: Re: [PATCH 15/16] hw/arm/boot: Drop nb_cpus field from arm_boot_info
Date: Mon, 31 Jan 2022 19:09:34 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 1/28/22 02:46, Peter Maydell wrote:
We use the arm_boot_info::nb_cpus  field in only one place, and that
place can easily get the number of CPUs locally rather than relying
on the board code to have set the field correctly.  (At least one
board, xlnx-versal-virt, does not set the field despite having more
than one CPU.)

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  include/hw/arm/boot.h   | 1 -
  hw/arm/aspeed.c         | 1 -
  hw/arm/boot.c           | 7 +++----
  hw/arm/exynos4_boards.c | 1 -
  hw/arm/highbank.c       | 1 -
  hw/arm/imx25_pdk.c      | 3 +--
  hw/arm/kzm.c            | 1 -
  hw/arm/mcimx6ul-evk.c   | 1 -
  hw/arm/mcimx7d-sabre.c  | 1 -
  hw/arm/npcm7xx.c        | 3 ---
  hw/arm/orangepi.c       | 4 +---
  hw/arm/raspi.c          | 1 -
  hw/arm/realview.c       | 1 -
  hw/arm/sabrelite.c      | 1 -
  hw/arm/sbsa-ref.c       | 1 -
  hw/arm/vexpress.c       | 1 -
  hw/arm/virt.c           | 1 -
  hw/arm/xilinx_zynq.c    | 1 -
  18 files changed, 5 insertions(+), 26 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]