summary refs log tree commit diff stats
path: root/hw/arm/virt.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-01-18 21:06:29 +0100
committerPeter Maydell <peter.maydell@linaro.org>2024-01-26 11:30:48 +0000
commit750245ed7ce2a426a4eaf026f1af3a21fbdc19dc (patch)
treea8540b9b3c4714ae00d011296a209031a86d233c /hw/arm/virt.c
parent7f31b2f56b69c9257d13f124485807d380c86e28 (diff)
downloadfocaccia-qemu-750245ed7ce2a426a4eaf026f1af3a21fbdc19dc.tar.gz
focaccia-qemu-750245ed7ce2a426a4eaf026f1af3a21fbdc19dc.zip
target/arm: Rename arm_cpu_mp_affinity
Rename to arm_build_mp_affinity.  This frees up the name for
other usage, and emphasizes that the cpu object is not involved.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20240118200643.29037-9-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/virt.c')
-rw-r--r--hw/arm/virt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index ed4ed9f414..eecde04fc7 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -1676,7 +1676,7 @@ static uint64_t virt_cpu_mp_affinity(VirtMachineState *vms, int idx)
             clustersz = GICV3_TARGETLIST_BITS;
         }
     }
-    return arm_cpu_mp_affinity(idx, clustersz);
+    return arm_build_mp_affinity(idx, clustersz);
 }
 
 static inline bool *virt_get_high_memmap_enabled(VirtMachineState *vms,