From c2fcf69e411f4d538888d35b7d08070551d5a85c Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Thu, 2 Oct 2025 15:15:05 +0200 Subject: [PATCH] arch/x86: Use boolean for flag_is_changeable_p() Change-Id: I7a2edd86ed509a5de7e3529fdc2ea68fe9c268e0 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/89401 Reviewed-by: Shuo Liu Tested-by: build bot (Jenkins) --- src/arch/x86/cpu.c | 2 +- src/arch/x86/cpu_common.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/x86/cpu.c b/src/arch/x86/cpu.c index 91cbcb05fa..683b8855b2 100644 --- a/src/arch/x86/cpu.c +++ b/src/arch/x86/cpu.c @@ -15,7 +15,7 @@ #if ENV_X86_32 /* Standard macro to see if a specific flag is changeable */ -static inline int flag_is_changeable_p(uint32_t flag) +static inline bool flag_is_changeable_p(uint32_t flag) { uint32_t f1, f2; diff --git a/src/arch/x86/cpu_common.c b/src/arch/x86/cpu_common.c index d7d701d016..0403703b86 100644 --- a/src/arch/x86/cpu_common.c +++ b/src/arch/x86/cpu_common.c @@ -6,7 +6,7 @@ #if ENV_X86_32 /* Standard macro to see if a specific flag is changeable */ -static inline int flag_is_changeable_p(uint32_t flag) +static inline bool flag_is_changeable_p(uint32_t flag) { uint32_t f1, f2;