Revert "spapr: Ensure CPU cores are added contiguously and removed in LIFO order"
commit7cdd76132a7daff30cde12ba81684741d50c4f22
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 26 Jul 2016 03:37:20 +0000 (26 13:37 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 29 Jul 2016 02:02:31 +0000 (29 12:02 +1000)
tree65d178600e64fbce752b60434fe8b94cd33efcec
parentb63578bdb50243d05c48c3c94cc58ae446f2eb93
Revert "spapr: Ensure CPU cores are added contiguously and removed in LIFO order"

This reverts commit 5cbc64de25973e9129c5a7897734a06ac64b9aff.

Now that we have stable cpu_index values for pseries-2.7 (and future)
machine types, we can now safely allow hotplug and unplug in any order.

Conflicts:
hw/ppc/spapr_cpu_core.c

Some conflicts on revert due to some small changes in the inserted
code since the original commit.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_cpu_core.c