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:
parent
472817285e
commit
bc5cc98966
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue