diff options
author | Cédric Le Goater <clg@redhat.com> | 2024-04-24 11:30:48 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-06-19 12:40:49 +0200 |
commit | 80ce0d5874d60dac171ec9395a2aaba91a25c1c7 (patch) | |
tree | 30a2c2f511ea9fe0b3d5bb908b9257f0d3f973a8 /include/qemu/rcu.h | |
parent | 795eaa62fa68c452b926fbfc4ccdcb4cd1552531 (diff) | |
download | qemu-80ce0d5874d60dac171ec9395a2aaba91a25c1c7.zip qemu-80ce0d5874d60dac171ec9395a2aaba91a25c1c7.tar.gz qemu-80ce0d5874d60dac171ec9395a2aaba91a25c1c7.tar.bz2 |
ppc/pnv: Introduce pnv_chip_foreach_cpu()
This helper routine uses the machine definition, sockets, cores and
threads, to loop on all CPUs of the machine. Replace CPU_FOREACH()
with it.
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240424093048.180966-1-clg@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'include/qemu/rcu.h')
0 files changed, 0 insertions, 0 deletions