Commit 04d0ffbd authored by Greg Kurz's avatar Greg Kurz Committed by David Gibson
Browse files

spapr: make spapr_populate_hotplug_cpu_dt() static



Since commit ff9006dd ("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: default avatarGreg Kurz <groug@kaod.org>
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 6b06e3e4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2863,7 +2863,7 @@ out:
    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)
{
    PowerPCCPU *cpu = POWERPC_CPU(cs);
+0 −2
Original line number Diff line number Diff line
@@ -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,
                                               uint32_t count, uint32_t index);
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. */
void spapr_core_release(DeviceState *dev);