Public headers: use SPDX identifiers
[urcu.git] / include / urcu / arch / tile.h
CommitLineData
d3d3857f
MJ
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
c23069c6
MD
6#ifndef _URCU_ARCH_TILE_H
7#define _URCU_ARCH_TILE_H
8
9/*
10 * arch/tile.h: definitions for tile architecture
c23069c6
MD
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
c23069c6 24/*
84f4ccb4
MD
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
c23069c6
MD
27 * numbers.
28 */
84f4ccb4 29#if (defined(__linux__) && !defined(__NR_membarrier))
c23069c6
MD
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.037177 seconds and 4 git commands to generate.