uatomic: Fix header guard comment
[urcu.git] / include / urcu / arch / tile.h
... / ...
CommitLineData
1// SPDX-FileCopyrightText: 2010 Paul E. McKenney, IBM Corporation.
2// SPDX-FileCopyrightText: 2009-2015 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
3//
4// SPDX-License-Identifier: LGPL-2.1-or-later
5
6#ifndef _URCU_ARCH_TILE_H
7#define _URCU_ARCH_TILE_H
8
9/*
10 * arch/tile.h: definitions for tile architecture
11 */
12
13#include <urcu/compiler.h>
14#include <urcu/config.h>
15#include <urcu/syscall-compat.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21#include <stdlib.h>
22#include <sys/time.h>
23
24/*
25 * On Linux, define the membarrier system call number if not yet available in
26 * the system headers. tile implements asm-generic/unistd.h system call
27 * numbers.
28 */
29#if (defined(__linux__) && !defined(__NR_membarrier))
30#define __NR_membarrier 283
31#endif
32
33#ifdef __cplusplus
34}
35#endif
36
37#include <urcu/arch/generic.h>
38
39#endif /* _URCU_ARCH_TILE_H */
This page took 0.034152 seconds and 5 git commands to generate.