mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-24 15:31:22 +01:00
include: sbi: Fix compiling with C23 enabled compilers
C23 pre-defines bool so we need to gate our defines. Signed-off-by: Michael Neuling <michaelneuling@tenstorrent.com> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:

committed by
Anup Patel

parent
91196d76b7
commit
d539d64a23
@@ -33,7 +33,7 @@ static bool andes_iocp_disabled(void)
|
||||
|
||||
static bool andes_apply_iocp_sw_workaround(void)
|
||||
{
|
||||
return andes_cache_controllable() & andes_iocp_disabled();
|
||||
return andes_cache_controllable() && andes_iocp_disabled();
|
||||
}
|
||||
|
||||
int andes_sbi_vendor_ext_provider(long funcid,
|
||||
|
Reference in New Issue
Block a user