uatomic/x86: Remove redundant memory barriers
[urcu.git] / include / urcu / static / 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
adcfce54
MD
6#ifndef _URCU_STATIC_H
7#define _URCU_STATIC_H
8
9/*
d2d23035 10 * Userspace RCU header.
adcfce54 11 *
a5a9f428
PM
12 * TO BE INCLUDED ONLY IN CODE THAT IS TO BE RECOMPILED ON EACH LIBURCU
13 * RELEASE. See urcu.h for linking dynamically with the userspace rcu library.
adcfce54 14 *
adcfce54
MD
15 * IBM's contributions to this file may be relicensed under LGPLv2 or later.
16 */
17
65f1e634 18/* Default is RCU_MEMBARRIER */
aad674a9 19#if !defined(RCU_MEMBARRIER) && !defined(RCU_MB)
65f1e634
MD
20#define RCU_MEMBARRIER
21#endif
22
fdf01eed 23#ifdef RCU_MEMBARRIER
4477a870 24#include <urcu/static/urcu-memb.h>
fdf01eed
MD
25#endif
26
02be5561 27#ifdef RCU_MB
4477a870 28#include <urcu/static/urcu-mb.h>
fdf01eed
MD
29#endif
30
adcfce54 31#endif /* _URCU_STATIC_H */
This page took 0.054759 seconds and 5 git commands to generate.