summaryrefslogtreecommitdiff
path: root/src/soc/intel/xeon_sp/spr
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/xeon_sp/spr')
-rw-r--r--src/soc/intel/xeon_sp/spr/soc_acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/xeon_sp/spr/soc_acpi.c b/src/soc/intel/xeon_sp/spr/soc_acpi.c
index 5340b7bd74..2e77de28f3 100644
--- a/src/soc/intel/xeon_sp/spr/soc_acpi.c
+++ b/src/soc/intel/xeon_sp/spr/soc_acpi.c
@@ -394,7 +394,7 @@ void uncore_inject_dsdt(const struct device *device)
const STACK_RES *ri =
&hob->PlatformData.IIO_resource[socket].StackRes[stack];
- stack_enabled = hob->PlatformData.IIO_resource[socket].Valid &&
+ stack_enabled = soc_cpu_is_enabled(socket) &&
ri->Personality < TYPE_RESERVED;
printk(BIOS_DEBUG, "%s processing socket: %d, stack: %d, type: %d\n",