From 898a77521de97b1e4af9458b82bcc21bc7a6e799 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 1 Jun 2017 11:39:59 -0600 Subject: arch/*: Update Kconfig symbol usage - Update all symbols to use IS_ENABLED() - Update non-romcc usage to use 'if' instead of '#if' where it makes sense. Change-Id: I5a84414d2d1631e35ac91efb67a0d4c1f673bf85 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/20005 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/arch/power8/include/arch/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/power8') diff --git a/src/arch/power8/include/arch/cpu.h b/src/arch/power8/include/arch/cpu.h index 45ebc14367..9acc2a8ab2 100644 --- a/src/arch/power8/include/arch/cpu.h +++ b/src/arch/power8/include/arch/cpu.h @@ -31,7 +31,7 @@ struct thread; struct cpu_info { device_t cpu; unsigned long index; -#if CONFIG_COOP_MULTITASKING +#if IS_ENABLED(CONFIG_COOP_MULTITASKING) struct thread *thread; #endif }; -- cgit v1.2.3