aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/arch/default/odp_cpu.h
blob: 2df6f65c8a2e17162819d96812bc5592f93e1aca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Copyright (c) 2017, ARM Limited. All rights reserved.
 *
 * Copyright (c) 2017, Linaro Limited
 * All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef ODP_DEFAULT_CPU_H_
#define ODP_DEFAULT_CPU_H_

/******************************************************************************
 * Atomics
 *****************************************************************************/

#define atomic_store_release(loc, val, ro) \
	__atomic_store_n(loc, val, __ATOMIC_RELEASE)

#include "odp_cpu_idling.h"

#endif