acpi:piix4: convert cpu hotplug to hotplug_handler API
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Wed, 22 Oct 2014 03:24:27 +0000 (11:24 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 2 Nov 2014 11:44:11 +0000 (13:44 +0200)
commit08bba95bd3782c74de9cac29e6f8f6b7a5d50392
treecf2b29ec2e8f65f6fff674db2455465848ee991f
parentc5171ed0cf9ca54d5f461cd6d08e99f324ba4c55
acpi:piix4: convert cpu hotplug to hotplug_handler API

Convert notifier based hotplug to hotplug_handler API,
and remove the unused AcpiCpuHotplug_add().

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>
hw/acpi/cpu_hotplug.c
hw/acpi/piix4.c
include/hw/acpi/cpu_hotplug.h