From 9634547eae10dc6b30014208124d54a6ddc7f987 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sat, 24 Jun 2017 14:13:53 -0600 Subject: src/include: add IS_ENABLED() around Kconfig symbol references MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2fbe6376a1cf98d328464556917638a5679641d2 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/20354 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/include/smp/node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include/smp/node.h') diff --git a/src/include/smp/node.h b/src/include/smp/node.h index 4e45c46bd9..65931bc404 100644 --- a/src/include/smp/node.h +++ b/src/include/smp/node.h @@ -1,7 +1,7 @@ #ifndef _SMP_NODE_H_ #define _SMP_NODE_H_ -#if CONFIG_SMP +#if IS_ENABLED(CONFIG_SMP) int boot_cpu(void); #else #define boot_cpu(x) 1 -- cgit v1.2.3