aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/intel/hyperthreading
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-06-24 13:43:40 -0600
committerMartin Roth <martinroth@google.com>2017-06-28 17:48:42 +0000
commitffdee287df7a294396f1c935e1171dad7c44dbf3 (patch)
tree2a213a933512f1cfe75ef01e954facb90bdf7656 /src/cpu/intel/hyperthreading
parent5f46af6325b5facb9a608b0f86595b92b98ed718 (diff)
cpu/intel: add IS_ENABLED() around Kconfig symbol references
Some of these can be changed from #if to if(), but that will happen in a follow-on commmit. Change-Id: Ie685bbbb1cbf06d32631ea40ad120b6f45374b2e Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/20336 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/cpu/intel/hyperthreading')
-rw-r--r--src/cpu/intel/hyperthreading/intel_sibling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/intel/hyperthreading/intel_sibling.c b/src/cpu/intel/hyperthreading/intel_sibling.c
index 57aa00c007..d9654702e6 100644
--- a/src/cpu/intel/hyperthreading/intel_sibling.c
+++ b/src/cpu/intel/hyperthreading/intel_sibling.c
@@ -20,7 +20,7 @@
#include <smp/spinlock.h>
#include <assert.h>
-#if CONFIG_PARALLEL_CPU_INIT
+#if IS_ENABLED(CONFIG_PARALLEL_CPU_INIT)
#error Intel hyper-threading requires serialized CPU init
#endif