uatomic/x86: Remove redundant memory barriers
[urcu.git] / tests / unit / urcu-asm.c
CommitLineData
ce29b371
MJ
1// SPDX-FileCopyrightText: 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
2//
3// SPDX-License-Identifier: GPL-2.0-or-later
4
5e13fab8
MD
5/*
6 * urcu-asm.c
7 *
8 * Userspace RCU library - assembly dump of primitives
5e13fab8
MD
9 */
10
ec4e58a3 11#include <urcu.h>
0af68f5e
MD
12
13void show_read_lock(void)
14{
15 asm volatile ("/* start */");
16 rcu_read_lock();
17 asm volatile ("/* end */");
18}
19
20void show_read_unlock(void)
21{
22 asm volatile ("/* start */");
23 rcu_read_unlock();
24 asm volatile ("/* end */");
25}
This page took 0.045846 seconds and 4 git commands to generate.