OSDN Git Service

hw/arm/pxa2xx_gpio: Pass CPU using QOM link property
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 30 Oct 2023 08:37:05 +0000 (09:37 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 2 Nov 2023 13:36:45 +0000 (13:36 +0000)
commit7df9a2285761eadbaf3cc6c8850aeb894f91b4f7
tree7c1742ac8c9d1701eff68e68683d7c4ff4c1cc0b
parent662c3eba8f2325b948463ed8ea368f297e9fb81c
hw/arm/pxa2xx_gpio: Pass CPU using QOM link property

Instead of passing the CPU index and resolving it,
use a QOM link to directly pass the CPU.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20231030083706.63685-1-philmd@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/pxa2xx_gpio.c