diff --git a/utils/los_compiler.h b/utils/los_compiler.h index 543dcf6b..14538a65 100644 --- a/utils/los_compiler.h +++ b/utils/los_compiler.h @@ -419,6 +419,7 @@ static inline UINT32 LOS_Align(UINT32 addr, UINT32 boundary) #endif #if defined(__GNUC__) +#ifndef __XTENSA_LX6__ static inline void maybe_release_fence(int model) { switch (model) { @@ -519,6 +520,7 @@ static inline UINT64 __atomic_exchange_8(volatile void *mem, UINT64 val, int mod return ret; } #endif +#endif #ifdef __cplusplus #if __cplusplus