spapr: get numa node mapping from possible_cpus instead of numa_get_node_for_cpu()
commit722387e78daf6a330220082934cfaaf68fa4d492
authorIgor Mammedov <imammedo@redhat.com>
Wed, 10 May 2017 11:29:53 +0000 (10 13:29 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Thu, 11 May 2017 19:08:49 +0000 (11 16:08 -0300)
tree5140ce2a6125ec932af974d22649d8a0dbb38b20
parentea2650724ceb15903eb25473252047784fae5672
spapr: get numa node mapping from possible_cpus instead of numa_get_node_for_cpu()

it's safe to remove thread node_id != core node_id error
branch as machine_set_cpu_numa_node() also does mismatch
check and is called even before any CPU is created.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <1494415802-227633-10-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/ppc/spapr.c
hw/ppc/spapr_cpu_core.c