acpi/cpu: add cpu hotplug callback function to match hotplug_handler API
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Wed, 22 Oct 2014 03:24:25 +0000 (11:24 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 2 Nov 2014 11:44:11 +0000 (13:44 +0200)
commit1be6b511a6a6f0d87b57725cf8d5caefcff3cc9a
tree9f9bf23c659c345ee019ecefc8753fc9f05984ea
parent42a5b30844207e5644ba3c2d30f719d5bad9ee72
acpi/cpu: add cpu hotplug callback function to match hotplug_handler API

Add cpu hotplug callback function (acpi_cpu_plug_cb) to match hotplug_handler API.

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