diff options
author | Gu Zheng | 2014-10-22 05:24:32 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2014-11-02 12:44:12 +0100 |
commit | cc43364de7773c9838cedf8f461b7788b8b4fd8e (patch) | |
tree | 2779edc1c7fb9d61d1080eb6ac27e4ccd463329c /include/hw/i386/pc.h | |
parent | cpu-hotplug: rename function for better readability (diff) | |
download | qemu-cc43364de7773c9838cedf8f461b7788b8b4fd8e.tar.gz qemu-cc43364de7773c9838cedf8f461b7788b8b4fd8e.tar.xz qemu-cc43364de7773c9838cedf8f461b7788b8b4fd8e.zip |
acpi/cpu-hotplug: introduce helper function to keep bit setting in one place
Introduce helper function acpi_set_cpu_present_bit() to simplify acpi_cpu_plug_cb
and acpi_cpu_hotplug_init, so that we can keep bit setting in one place.
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 'include/hw/i386/pc.h')
0 files changed, 0 insertions, 0 deletions