blob: a9b9f2c296c8c764877c5d1125ac74f8e143b1fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* Copyright (c) 2016-2018, Linaro Limited
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef ODP_ABI_CPU_H_
#define ODP_ABI_CPU_H_
#ifdef __cplusplus
extern "C" {
#endif
#ifndef ODP_CACHE_LINE_SIZE
#define ODP_CACHE_LINE_SIZE 64
#endif
#ifdef _ODP_NEED_GENERIC_CPU_PAUSE
static inline void odp_cpu_pause(void)
{
}
#endif
#ifdef __cplusplus
}
#endif
#endif
|