summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeqian Zhu2020-04-13 11:15:52 +0200
committerPeter Maydell2020-04-30 12:52:28 +0200
commit119a2ef1dce90ffa2b86a43fb190027fcc5cdb9a (patch)
tree6212595aaee28707499893b40bc0e749721e8cfc
parentbugfix: Use gicr_typer in arm_gicv3_icc_reset (diff)
downloadqemu-119a2ef1dce90ffa2b86a43fb190027fcc5cdb9a.tar.gz
qemu-119a2ef1dce90ffa2b86a43fb190027fcc5cdb9a.tar.xz
qemu-119a2ef1dce90ffa2b86a43fb190027fcc5cdb9a.zip
Typo: Correct the name of CPU hotplug memory region
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>
-rw-r--r--hw/acpi/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/acpi/cpu.c b/hw/acpi/cpu.c
index e2c957ce00..3d6a500fb7 100644
--- a/hw/acpi/cpu.c
+++ b/hw/acpi/cpu.c
@@ -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);
}