pc: acpi: simplify build_legacy_cpu_hotplug_aml() signature
commitebd8ea82441020f2781928b17f37ed9a0d2e4250
authorIgor Mammedov <imammedo@redhat.com>
Tue, 17 May 2016 14:43:02 +0000 (17 16:43 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 7 Jun 2016 12:36:54 +0000 (7 15:36 +0300)
tree25023abff622344e4ceef793af1eec515c237b3c
parent672a28722758bd4754a1bb31ee497b5d007d1be6
pc: acpi: simplify build_legacy_cpu_hotplug_aml() signature

since IO block used by CPU hotplug is fixed size and
initialized it the same file as build_legacy_cpu_hotplug_aml()
just use ACPI_GPE_PROC_LEN directly instead of passing
it around in several files.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
hw/acpi/cpu_hotplug.c
hw/i386/acpi-build.c
include/hw/acpi/cpu_hotplug.h