aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/amd/pi/00660F01/model_15_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/amd/pi/00660F01/model_15_init.c')
-rw-r--r--src/cpu/amd/pi/00660F01/model_15_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/amd/pi/00660F01/model_15_init.c b/src/cpu/amd/pi/00660F01/model_15_init.c
index c31dec8b03..8f739cf3b6 100644
--- a/src/cpu/amd/pi/00660F01/model_15_init.c
+++ b/src/cpu/amd/pi/00660F01/model_15_init.c
@@ -54,7 +54,7 @@ static void model_15_init(device_t dev)
u8 i;
msr_t msr;
int msrno;
-#if CONFIG_LOGICAL_CPUS
+#if IS_ENABLED(CONFIG_LOGICAL_CPUS)
u32 siblings;
#endif
@@ -93,7 +93,7 @@ static void model_15_init(device_t dev)
/* Enable the local CPU APICs */
setup_lapic();
-#if CONFIG_LOGICAL_CPUS
+#if IS_ENABLED(CONFIG_LOGICAL_CPUS)
siblings = cpuid_ecx(0x80000008) & 0xff;
if (siblings > 0) {