From: Mathieu Desnoyers Date: Fri, 9 Jun 2023 14:50:48 +0000 (-0400) Subject: Fix: uatomic powerpc comment about lwsync X-Git-Tag: v0.13.4~21 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6ca0332efb21e424d121d68ca7a522b5f6c1a44b;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)