修复kernel_liteos_m的pr526后esp32编译告警导致编译失败问题

Signed-off-by: ou-yangkan <519689417@qq.com>
This commit is contained in:
ou-yangkan 2022-01-20 00:09:51 +08:00
parent 1f8151649b
commit af0db5562b
1 changed files with 2 additions and 0 deletions

View File

@ -419,6 +419,7 @@ static inline UINT32 LOS_Align(UINT32 addr, UINT32 boundary)
#endif #endif
#if defined(__GNUC__) #if defined(__GNUC__)
#ifndef __XTENSA_LX6__
static inline void maybe_release_fence(int model) static inline void maybe_release_fence(int model)
{ {
switch (model) { switch (model) {
@ -519,6 +520,7 @@ static inline UINT64 __atomic_exchange_8(volatile void *mem, UINT64 val, int mod
return ret; return ret;
} }
#endif #endif
#endif
#ifdef __cplusplus #ifdef __cplusplus
#if __cplusplus #if __cplusplus