>From e6392e493a8aacedabf7fbbdb0499c3fb3343856 Mon Sep 17 00:00:00 2001 From: Akira Yokosawa <akiyks@xxxxxxxxx> Date: Fri, 15 Sep 2017 00:13:09 +0900 Subject: From e6392e493a8aacedabf7fbbdb0499c3fb3343856 Mon Sep 17 00:00:00 2001 From: Akira Yokosawa <akiyks@xxxxxxxxx> Date: Fri, 15 Sep 2017 00:13:09 +0900 Subject: [PATCH 2/5] memorder: Fix usage of \IfInBook macro This macro requires two arguments, one is for "then" case, the other is for "else" case. Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- memorder/memorder.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memorder/memorder.tex b/memorder/memorder.tex index 9a66829..10aa380 100644 --- a/memorder/memorder.tex +++ b/memorder/memorder.tex @@ -3900,7 +3900,7 @@ of reordering memory optimizations across the barriers. The \co{smp_read_barrier_depends()} primitive has a similar effect, but only on Alpha CPUs. \IfInBook{See Chapter~\ref{chp:memorder:Memory Ordering} for -more information on use of these primitives.} +more information on use of these primitives.}{} These primitives generate code only in SMP kernels, however, each also has a UP version ({\tt mb()}, {\tt rmb()}, {\tt wmb()}, -- 2.7.4 This macro requires two arguments, one is for "then" case, the other is for "else" case. Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- memorder/memorder.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memorder/memorder.tex b/memorder/memorder.tex index 9a66829..10aa380 100644 --- a/memorder/memorder.tex +++ b/memorder/memorder.tex @@ -3900,7 +3900,7 @@ of reordering memory optimizations across the barriers. The \co{smp_read_barrier_depends()} primitive has a similar effect, but only on Alpha CPUs. \IfInBook{See Chapter~\ref{chp:memorder:Memory Ordering} for -more information on use of these primitives.} +more information on use of these primitives.}{} These primitives generate code only in SMP kernels, however, each also has a UP version ({\tt mb()}, {\tt rmb()}, {\tt wmb()}, -- 2.7.4 -- 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