mirror of https://github.com/xqemu/xqemu.git
spapr: make spapr_populate_hotplug_cpu_dt() static
Since commit ff9006ddbf
("spapr: move spapr_core_[foo]plug() callbacks
close to machine code in spapr.c"), this function doesn't need to be extern
anymore.
Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
6b06e3e49e
commit
04d0ffbd52
|
@ -2863,8 +2863,8 @@ out:
|
||||||
error_propagate(errp, local_err);
|
error_propagate(errp, local_err);
|
||||||
}
|
}
|
||||||
|
|
||||||
void *spapr_populate_hotplug_cpu_dt(CPUState *cs, int *fdt_offset,
|
static void *spapr_populate_hotplug_cpu_dt(CPUState *cs, int *fdt_offset,
|
||||||
sPAPRMachineState *spapr)
|
sPAPRMachineState *spapr)
|
||||||
{
|
{
|
||||||
PowerPCCPU *cpu = POWERPC_CPU(cs);
|
PowerPCCPU *cpu = POWERPC_CPU(cs);
|
||||||
DeviceClass *dc = DEVICE_GET_CLASS(cs);
|
DeviceClass *dc = DEVICE_GET_CLASS(cs);
|
||||||
|
|
|
@ -640,8 +640,6 @@ void spapr_hotplug_req_add_by_count_indexed(sPAPRDRConnectorType drc_type,
|
||||||
void spapr_hotplug_req_remove_by_count_indexed(sPAPRDRConnectorType drc_type,
|
void spapr_hotplug_req_remove_by_count_indexed(sPAPRDRConnectorType drc_type,
|
||||||
uint32_t count, uint32_t index);
|
uint32_t count, uint32_t index);
|
||||||
void spapr_cpu_parse_features(sPAPRMachineState *spapr);
|
void spapr_cpu_parse_features(sPAPRMachineState *spapr);
|
||||||
void *spapr_populate_hotplug_cpu_dt(CPUState *cs, int *fdt_offset,
|
|
||||||
sPAPRMachineState *spapr);
|
|
||||||
|
|
||||||
/* CPU and LMB DRC release callbacks. */
|
/* CPU and LMB DRC release callbacks. */
|
||||||
void spapr_core_release(DeviceState *dev);
|
void spapr_core_release(DeviceState *dev);
|
||||||
|
|
Loading…
Reference in New Issue