From: Mathieu Desnoyers Date: Fri, 9 Jun 2023 14:50:48 +0000 (-0400) Subject: Fix: uatomic powerpc comment about lwsync X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1a0ddffb9027fa82f360fdd1eb06d27d0942cc8c;p=urcu.git Fix: uatomic powerpc comment about lwsync lwsync allows prior stores to be reordered against following loads. Signed-off-by: Mathieu Desnoyers Change-Id: I288900d3546779ee80d14a3d8d02c43d7b1c0e8c --- diff --git a/include/urcu/uatomic/ppc.h b/include/urcu/uatomic/ppc.h index 0e672f5..ed7ce5d 100644 --- a/include/urcu/uatomic/ppc.h +++ b/include/urcu/uatomic/ppc.h @@ -34,7 +34,7 @@ extern "C" { * instructions for cmpxchg and add_return family of atomic primitives. * * This is achieved with: - * lwsync (prior loads can be reordered after following load) + * lwsync (prior stores can be reordered after following loads) * lwarx * stwcx. * test if success (retry)