summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/common/block/acpi/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/acpi/acpi.c b/src/soc/intel/common/block/acpi/acpi.c
index 4b3cb8a50b..1c3747d76a 100644
--- a/src/soc/intel/common/block/acpi/acpi.c
+++ b/src/soc/intel/common/block/acpi/acpi.c
@@ -400,7 +400,7 @@ void generate_cpu_entries(const struct device *device)
for (cpu_id = 0; cpu_id < numcpus; cpu_id++) {
for (core_id = 0; core_id < num_virt; core_id++) {
/* Generate processor \_SB.CPUx */
- acpigen_write_processor((cpu_id) * num_virt + core_id, 0, 0);
+ acpigen_write_processor_device(cpu_id * num_virt + core_id);
/* Generate C-state tables */
generate_c_state_entries();