uatomic/x86: Remove redundant memory barriers
[urcu.git] / include / urcu / urcu.h
CommitLineData
d3d3857f
MJ
1// SPDX-FileCopyrightText: 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
2// SPDX-FileCopyrightText: 2009 Paul E. McKenney, IBM Corporation.
3//
4// SPDX-License-Identifier: LGPL-2.1-or-later
5
4477a870
MD
6#ifndef _URCU_H
7#define _URCU_H
90075a50
MD
8
9/*
4477a870 10 * Userspace RCU header
90075a50 11 *
90075a50
MD
12 * LGPL-compatible code should include this header with :
13 *
14 * #define _LGPL_SOURCE
4477a870 15 * #include <urcu.h>
90075a50 16 *
4477a870 17 * IBM's contributions to this file may be relicensed under LGPLv2 or later.
90075a50
MD
18 */
19
aad674a9 20#if !defined(RCU_MEMBARRIER) && !defined(RCU_MB)
4477a870
MD
21#define RCU_MEMBARRIER
22#endif
90075a50 23
4477a870
MD
24#ifdef RCU_MEMBARRIER
25#include <urcu/urcu-memb.h>
4477a870
MD
26#elif defined(RCU_MB)
27#include <urcu/urcu-mb.h>
28#else
29#error "Unknown urcu flavor"
36bc70a8
MD
30#endif
31
4477a870 32#endif /* _URCU_H */
This page took 0.048141 seconds and 4 git commands to generate.