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> |
||
|---|---|---|
| .. | ||
| Makefile.objs | ||
| acpi_interface.c | ||
| core.c | ||
| cpu_hotplug.c | ||
| ich9.c | ||
| memory_hotplug.c | ||
| pcihp.c | ||
| piix4.c | ||