summary refs log tree commit diff stats
path: root/hw/core/cpu-common.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2025-05-14 14:29:45 +0100
committerPeter Maydell <peter.maydell@linaro.org>2025-05-14 14:29:45 +0100
commit9c6675e8a5824f4c41c3d122c4b848a67d9d0350 (patch)
tree8d3017c8f5670972a867939d2f9de847436df329 /hw/core/cpu-common.c
parent864813878951b44e964eb4c012d832fd21f8cc0c (diff)
downloadfocaccia-qemu-9c6675e8a5824f4c41c3d122c4b848a67d9d0350.tar.gz
focaccia-qemu-9c6675e8a5824f4c41c3d122c4b848a67d9d0350.zip
target/microblaze: Use 'obj' in DEVICE() casts in mb_cpu_initfn()
We're about to make a change that removes the only other use
of the 'cpu' local variable in mb_cpu_initfn(); since the
DEVICE() casts work fine with the Object*, use that instead,
so that we can remove the local variable when we make the
following change.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20250429132200.605611-2-peter.maydell@linaro.org
Diffstat (limited to 'hw/core/cpu-common.c')
0 files changed, 0 insertions, 0 deletions