]> git.lttng.org Git - userspace-rcu.git/commit
Fix compilation errors master
authorOlivier Dion <odion@efficios.com>
Mon, 2 Dec 2024 19:41:30 +0000 (14:41 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 2 Dec 2024 19:48:45 +0000 (14:48 -0500)
commited81649a07729dc348c31612e2acad7f5f759136
treec13ffbbf5de1637df143075386b3e5ec0c15f108
parent031ece570138435e3438166ee49b13b574bce25a
Fix compilation errors

CMM_{STORE,LOAD}_SHARED() accept expressions.  However,
uatomic_{load,store} accept address.  To pass from the latter to the
former, a dereference is necessary.

Furthermore, the C11 compatibility layer for x86.h on store operations
was wrongly named after the `set' operation.

Change-Id: Icb1468de3de4878b5744e632314aa8332ad7fe26
Signed-off-by: Olivier Dion <odion@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/urcu/uatomic/generic.h
include/urcu/uatomic/x86.h
This page took 0.029659 seconds and 4 git commands to generate.