diff options
author | Gu Zheng | 2014-10-22 05:24:31 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2014-11-02 12:44:12 +0100 |
commit | 411b5db8e51108f023d02ba7e37c6e5e2294b337 (patch) | |
tree | b7b53ecaa51c55674f7ac0f7d3dfb302d359e1a1 /hw/acpi/cpu_hotplug.c | |
parent | qom/cpu: remove the unused CPU hot-plug notifier (diff) | |
download | qemu-411b5db8e51108f023d02ba7e37c6e5e2294b337.tar.gz qemu-411b5db8e51108f023d02ba7e37c6e5e2294b337.tar.xz qemu-411b5db8e51108f023d02ba7e37c6e5e2294b337.zip |
cpu-hotplug: rename function for better readability
Rename:
AcpiCpuHotplug_init --> acpi_cpu_hotplug_init
AcpiCpuHotplug_ops --> acpi_cpu_hotplug_ops
for better readability, just cleanup.
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'hw/acpi/cpu_hotplug.c')
-rw-r--r-- | hw/acpi/cpu_hotplug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/acpi/cpu_hotplug.c b/hw/acpi/cpu_hotplug.c index b69b16c0e2..ae48b63208 100644 --- a/hw/acpi/cpu_hotplug.c +++ b/hw/acpi/cpu_hotplug.c @@ -55,8 +55,8 @@ void acpi_cpu_plug_cb(ACPIREGS *ar, qemu_irq irq, acpi_update_sci(ar, irq); } -void AcpiCpuHotplug_init(MemoryRegion *parent, Object *owner, - AcpiCpuHotplug *gpe_cpu, uint16_t base) +void acpi_cpu_hotplug_init(MemoryRegion *parent, Object *owner, + AcpiCpuHotplug *gpe_cpu, uint16_t base) { CPUState *cpu; |