From 4b2a0b852dba014f96cb68cabae1193ebae74535 Mon Sep 17 00:00:00 2001 From: Guiding Li Date: Wed, 29 Sep 2021 14:45:00 +0800 Subject: [PATCH] libmetal: add __sync_synchronize support Signed-off-by: Guiding Li --- lib/processor/xtensa/cpu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/processor/xtensa/cpu.h b/lib/processor/xtensa/cpu.h index 24fed7a6..44139957 100644 --- a/lib/processor/xtensa/cpu.h +++ b/lib/processor/xtensa/cpu.h @@ -13,5 +13,6 @@ #define __METAL_XTENSA_CPU__H__ #define metal_cpu_yield() +#define __sync_synchronize() #endif /* __METAL_XTENSA_CPU__H__ */