diff options
| author | Michael Neuling <[email protected]> | 2024-12-21 21:38:50 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-12-21 21:38:50 +0530 |
| commit | d539d64a23bbd64ba324eed595449bcc9c7be0cb (patch) | |
| tree | bc44c2e159e3a64bd0b29de45392f0a0f91ab30d /platform | |
| parent | 91196d76b7919fefa382b65f2416f4327435e3a1 (diff) | |
include: sbi: Fix compiling with C23 enabled compilers
C23 pre-defines bool so we need to gate our defines.
Signed-off-by: Michael Neuling <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'platform')
| -rw-r--r-- | platform/generic/andes/andes_sbi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/generic/andes/andes_sbi.c b/platform/generic/andes/andes_sbi.c index 01a3c1ac..c3ea7f87 100644 --- a/platform/generic/andes/andes_sbi.c +++ b/platform/generic/andes/andes_sbi.c @@ -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, |
