Skip to content

Commit 89cb0c0

Browse files
dagrhvivier
authored andcommitted
typo: apci->acpi
apci_1_compatible should be acpi_1_compatible. Signed-off-by: Dr. David Alan Gilbert <[email protected]> Reviewed-by: Igor Mammedov <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Message-Id: <[email protected]> Signed-off-by: Laurent Vivier <[email protected]>
1 parent aae0490 commit 89cb0c0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

hw/acpi/cpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ void build_cpus_aml(Aml *table, MachineState *machine, CPUHotplugFeatures opts,
508508
GArray *madt_buf = g_array_new(0, 1, 1);
509509
int arch_id = arch_ids->cpus[i].arch_id;
510510

511-
if (opts.apci_1_compatible && arch_id < 255) {
511+
if (opts.acpi_1_compatible && arch_id < 255) {
512512
dev = aml_processor(i, 0, 0, CPU_NAME_FMT, i);
513513
} else {
514514
dev = aml_device(CPU_NAME_FMT, i);

hw/i386/acpi-build.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1847,7 +1847,7 @@ build_dsdt(GArray *table_data, BIOSLinker *linker,
18471847
build_legacy_cpu_hotplug_aml(dsdt, machine, pm->cpu_hp_io_base);
18481848
} else {
18491849
CPUHotplugFeatures opts = {
1850-
.apci_1_compatible = true, .has_legacy_cphp = true
1850+
.acpi_1_compatible = true, .has_legacy_cphp = true
18511851
};
18521852
build_cpus_aml(dsdt, machine, opts, pm->cpu_hp_io_base,
18531853
"\\_SB.PCI0", "\\_GPE._E02");

include/hw/acpi/cpu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void cpu_hotplug_hw_init(MemoryRegion *as, Object *owner,
4848
CPUHotplugState *state, hwaddr base_addr);
4949

5050
typedef struct CPUHotplugFeatures {
51-
bool apci_1_compatible;
51+
bool acpi_1_compatible;
5252
bool has_legacy_cphp;
5353
} CPUHotplugFeatures;
5454

0 commit comments

Comments
 (0)