From 43af891a37a25dd3158e7eca0bf65c5bea97d119 Mon Sep 17 00:00:00 2001 From: Adithya Baglody Date: Mon, 23 Jul 2018 14:02:45 +0530 Subject: [PATCH] tests: include: Add implementation of timestamp_serialize() Add implementation of timestamp_serialize() for xtensa, nios2 and riscv. The implementation for the above architectures is an empty function. Signed-off-by: Adithya Baglody --- tests/include/test_asm_inline_gcc.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/include/test_asm_inline_gcc.h b/tests/include/test_asm_inline_gcc.h index 310db8687c7..340c3fa14eb 100644 --- a/tests/include/test_asm_inline_gcc.h +++ b/tests/include/test_asm_inline_gcc.h @@ -34,6 +34,12 @@ static inline void timestamp_serialize(void) #define timestamp_serialize() #elif defined(CONFIG_ARCH_POSIX) #define timestamp_serialize() +#elif defined(CONFIG_XTENSA) +#define timestamp_serialize() +#elif defined(CONFIG_NIOS2) +#define timestamp_serialize() +#elif defined(CONFIG_RISCV32) +#define timestamp_serialize() #else #error implementation of timestamp_serialize() not provided for your CPU target #endif