spapr: do not use CPU_FOREACH_REVERSE
commit04d595b300041bec645c862baccbea1c8befb6d4
authorEmilio G. Cota <cota@braap.org>
Sun, 19 Aug 2018 09:13:34 +0000 (19 05:13 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Aug 2018 16:46:25 +0000 (23 18:46 +0200)
tree3d9d69f4abdc519a5840b187c6f6b0757b150671
parentdbf8862a39f3099004366f1bd66d534b1590a34f
spapr: do not use CPU_FOREACH_REVERSE

This paves the way for implementing the CPU list with an RCU list,
which cannot be traversed in reverse order.

Note that this is the only caller of CPU_FOREACH_REVERSE.

Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <20180819091335.22863-11-cota@braap.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/ppc/spapr.c