diff options
author | Greg Kurz <groug@kaod.org> | 2017-06-30 15:18:10 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-07-11 11:04:01 +1000 |
commit | 04d0ffbd52ccd3d6e9db3d74e29d89dc8ff3fa75 (patch) | |
tree | fb198223502ef0b1cf8a2079ac53602d837c1ae9 | |
parent | 6b06e3e49eb8c91cc286c16d6bf3181ac296f33d (diff) | |
download | qemu-04d0ffbd52ccd3d6e9db3d74e29d89dc8ff3fa75.zip qemu-04d0ffbd52ccd3d6e9db3d74e29d89dc8ff3fa75.tar.gz qemu-04d0ffbd52ccd3d6e9db3d74e29d89dc8ff3fa75.tar.bz2 |
spapr: make spapr_populate_hotplug_cpu_dt() static
Since commit ff9006ddbfd1 ("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>
-rw-r--r-- | hw/ppc/spapr.c | 4 | ||||
-rw-r--r-- | include/hw/ppc/spapr.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index 0ee9fac..65d8ad2 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -2863,8 +2863,8 @@ out: error_propagate(errp, local_err); } -void *spapr_populate_hotplug_cpu_dt(CPUState *cs, int *fdt_offset, - sPAPRMachineState *spapr) +static void *spapr_populate_hotplug_cpu_dt(CPUState *cs, int *fdt_offset, + sPAPRMachineState *spapr) { PowerPCCPU *cpu = POWERPC_CPU(cs); DeviceClass *dc = DEVICE_GET_CLASS(cs); diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h index a66bbac..12bf969 100644 --- a/include/hw/ppc/spapr.h +++ b/include/hw/ppc/spapr.h @@ -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); |