spapr: move spapr_create_phb() to core machine code
commit999c9caf2eee66103195e1ec7580b379929db9d2
authorGreg Kurz <groug@kaod.org>
Fri, 21 Dec 2018 00:35:09 +0000 (21 01:35 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 8 Jan 2019 22:28:14 +0000 (9 09:28 +1100)
treea982bb735e31d8ca82353d0a42b1dd5b65a85cdc
parent52804c60f1bc31dbbc0fcf2d63268029fa93fe10
spapr: move spapr_create_phb() to core machine code

This function is only used when creating the default PHB. Let's rename
it and move it to the core machine code for clarity.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c
hw/ppc/spapr_pci.c
include/hw/pci-host/spapr.h