summaryrefslogtreecommitdiff
path: root/src/cpu/amd/agesa/family10
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/amd/agesa/family10')
-rw-r--r--src/cpu/amd/agesa/family10/model_10_init.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cpu/amd/agesa/family10/model_10_init.c b/src/cpu/amd/agesa/family10/model_10_init.c
index 6fbfd1aa34..1d44dbf7d1 100644
--- a/src/cpu/amd/agesa/family10/model_10_init.c
+++ b/src/cpu/amd/agesa/family10/model_10_init.c
@@ -40,7 +40,7 @@ static void model_10_init(device_t dev)
u8 i;
msr_t msr;
-#if CONFIG_LOGICAL_CPUS
+#if IS_ENABLED(CONFIG_LOGICAL_CPUS)
u32 siblings;
#endif
@@ -66,8 +66,7 @@ static void model_10_init(device_t dev)
/* Set the processor name string */
// init_processor_name();
-
-#if CONFIG_LOGICAL_CPUS
+#if IS_ENABLED(CONFIG_LOGICAL_CPUS)
siblings = cpuid_ecx(0x80000008) & 0xff;
if (siblings > 0) {