pc: acpi: factor out memhp code from build_ssdt() into separate function
commitf177d40ae2efebb6955ce3ef2b40f467cf1dfff0
authorIgor Mammedov <imammedo@redhat.com>
Mon, 28 Dec 2015 17:02:19 +0000 (28 18:02 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 9 Jan 2016 21:20:17 +0000 (9 23:20 +0200)
tree73de77045a522dfdc422bbd766360f906fe50da6
parent2ca66546ce5da9c652caa1a90336ea7347662051
pc: acpi: factor out memhp code from build_ssdt() into separate function

before consolidating memhp code in memory_hotplug_acpi_table.c
and for simplifying review, first factor out memhp code into
new function build_memory_devices() in i386/acpi-build.c

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
----
PS:
   no functional change, only code movement.
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/acpi-build.c