The code means `*(A + 4) = Y` but it is written as `Y = *A`. This commit fixes the typo. Suggested-by: Akira Yokosawa <akiysw@xxxxxxxxx> Signed-off-by: SeongJae Park <sj38.park@xxxxxxxxx> --- advsync/memorybarriers.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advsync/memorybarriers.tex b/advsync/memorybarriers.tex index ee9312d..8e9c876 100644 --- a/advsync/memorybarriers.tex +++ b/advsync/memorybarriers.tex @@ -1364,7 +1364,7 @@ Y = LOAD *(A + 4); X = LOAD *A; \begin{minipage}[t]{\columnwidth} \scriptsize \begin{verbatim} -*A = X; Y = *A; +*A = X; *(A + 4) = Y; \end{verbatim} \end{minipage} \vspace{5pt} -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe perfbook" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html