From: Akira Yokosawa <akiyks@gmail.com>
To: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: perfbook@vger.kernel.org, Akira Yokosawa <akiyks@gmail.com>
Subject: [PATCH 2/5] memorder: Fix usage of \IfInBook macro
Date: Sat, 16 Sep 2017 23:58:43 +0900 [thread overview]
Message-ID: <22ef1ea3-7b99-8191-e2ef-70e2f2b50e84@gmail.com> (raw)
In-Reply-To: <7b420fff-97d1-fcb2-2bbd-8d1a8c2ec1ec@gmail.com>
From e6392e493a8aacedabf7fbbdb0499c3fb3343856 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Fri, 15 Sep 2017 00:13:09 +0900
Subject: From e6392e493a8aacedabf7fbbdb0499c3fb3343856 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
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@gmail.com>
---
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@gmail.com>
---
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
next prev parent reply other threads:[~2017-09-16 14:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-16 14:56 [PATCH 0/5] memorder: Miscellaneous fixes Akira Yokosawa
2017-09-16 14:57 ` [PATCH 1/5] memorder: Adjust hspace of table 'Summary of Memory Ordering' in 1c Akira Yokosawa
2017-09-16 14:58 ` Akira Yokosawa [this message]
2017-09-16 14:59 ` [PATCH 3/5] memorder: More reword to 'full-strength non-void RMW' Akira Yokosawa
2017-09-16 15:00 ` [PATCH 4/5] memorder: Update reference to memory-barrier primitives Akira Yokosawa
2017-09-16 15:06 ` [PATCH v2 0/5] memorder: Miscellaneous fixes Akira Yokosawa
2017-09-16 15:07 ` [PATCH v2 1/5] memorder: Adjust hspace of table 'Summary of Memory Ordering' in 1c Akira Yokosawa
2017-09-16 15:08 ` [PATCH v2 2/5] memorder: Fix usage of \IfInBook macro Akira Yokosawa
2017-09-16 15:10 ` [PATCH v2 3/5] memorder: More reword to 'full-strength non-void RMW' Akira Yokosawa
2017-09-16 15:11 ` [PATCH v2 4/5] memorder: Update reference to memory-barrier primitives Akira Yokosawa
2017-09-16 15:12 ` [PATCH v2 5/5] memorder: Fix table of 'Summary of Memory Ordering' Akira Yokosawa
2017-09-17 0:54 ` [PATCH v2 0/5] memorder: Miscellaneous fixes Paul E. McKenney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=22ef1ea3-7b99-8191-e2ef-70e2f2b50e84@gmail.com \
--to=akiyks@gmail.com \
--cc=paulmck@linux.vnet.ibm.com \
--cc=perfbook@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox