commit | cc43364de7773c9838cedf8f461b7788b8b4fd8e | [log] [tgz] |
---|---|---|
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | Wed Oct 22 11:24:32 2014 +0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Sun Nov 02 13:44:12 2014 +0200 |
tree | 2779edc1c7fb9d61d1080eb6ac27e4ccd463329c | |
parent | 411b5db8e51108f023d02ba7e37c6e5e2294b337 [diff] |
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>