diff options
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/amd/picasso/acpi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/amd/picasso/acpi.c b/src/soc/amd/picasso/acpi.c index 4ec08e16d1..7315b924a1 100644 --- a/src/soc/amd/picasso/acpi.c +++ b/src/soc/amd/picasso/acpi.c @@ -354,7 +354,8 @@ void generate_cpu_entries(const struct device *device) acpigen_write_CST_package(cstate_info, ARRAY_SIZE(cstate_info)); - acpigen_write_CSD_package(cpu >> 1, threads_per_core, CSD_HW_ALL, 0); + acpigen_write_CSD_package(cpu / threads_per_core, threads_per_core, + CSD_HW_ALL, 0); acpigen_pop_len(); } |