Typo: Correct the name of CPU hotplug memory region
authorKeqian Zhu <zhukeqian1@huawei.com>
Mon, 13 Apr 2020 09:15:52 +0000 (17:15 +0800)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 30 Apr 2020 10:52:28 +0000 (11:52 +0100)
Replace "acpi-mem-hotplug" with "acpi-cpu-hotplug"

Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
Message-id: 20200413091552.62748-4-zhukeqian1@huawei.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/acpi/cpu.c

index e2c957ce008e2b86ed8116fd04b35e4ffd2f3d73..3d6a500fb7e56df4114b5d68c8f8fcceb1b790d1 100644 (file)
@@ -222,7 +222,7 @@ void cpu_hotplug_hw_init(MemoryRegion *as, Object *owner,
         state->devs[i].arch_id = id_list->cpus[i].arch_id;
     }
     memory_region_init_io(&state->ctrl_reg, owner, &cpu_hotplug_ops, state,
-                          "acpi-mem-hotplug", ACPI_CPU_HOTPLUG_REG_LEN);
+                          "acpi-cpu-hotplug", ACPI_CPU_HOTPLUG_REG_LEN);
     memory_region_add_subregion(as, base_addr, &state->ctrl_reg);
 }