summaryrefslogtreecommitdiffstats
path: root/include/hw/i386/pc.h
diff options
context:
space:
mode:
authorGu Zheng2014-10-22 05:24:32 +0200
committerMichael S. Tsirkin2014-11-02 12:44:12 +0100
commitcc43364de7773c9838cedf8f461b7788b8b4fd8e (patch)
tree2779edc1c7fb9d61d1080eb6ac27e4ccd463329c /include/hw/i386/pc.h
parentcpu-hotplug: rename function for better readability (diff)
downloadqemu-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