test: timestamp_serialize() empty macro for ARCv2

If the CPU is ARC, define timestamp_serialize() to be an
empty macro so that this test builds properly.

Change-Id: I36f00dd429972b610c327cbe59bedb24b33553ed
Signed-off-by: Chuck Jordan <cjordan@synopsys.com>
This commit is contained in:
Chuck Jordan 2016-05-26 11:05:59 -07:00 committed by Anas Nashif
parent 472817285e
commit bc5cc98966

View file

@ -43,6 +43,8 @@ static inline void timestamp_serialize(void)
:
: "memory");
}
#elif defined(CONFIG_CPU_ARCV2)
#define timestamp_serialize()
#else
#error implementation of timestamp_serialize() not provided for your CPU target
#endif