>From a1d64d31f52b7b2f96fb6e15ef30dde7f8d521bf Mon Sep 17 00:00:00 2001 From: Akira Yokosawa <akiyks@xxxxxxxxx> Date: Sun, 1 Jan 2017 00:59:39 +0900 Subject: [PATCH 5/5] toolsoftrade: Enclose short verbatim in minipage Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- toolsoftrade/toolsoftrade.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolsoftrade/toolsoftrade.tex b/toolsoftrade/toolsoftrade.tex index bc51437..0d1bf8c 100644 --- a/toolsoftrade/toolsoftrade.tex +++ b/toolsoftrade/toolsoftrade.tex @@ -1252,7 +1252,7 @@ These last two primitives are not provided directly by gcc, but may be implemented straightforwardly as follows: \vspace{5pt} -{ +\begin{minipage}[t]{\columnwidth} \scriptsize \begin{verbatim} #define ACCESS_ONCE(x) (*(volatile typeof(x) *)&(x)) @@ -1260,7 +1260,7 @@ but may be implemented straightforwardly as follows: #define WRITE_ONCE(x, val) ({ ACCESS_ONCE(x) = (val); }) #define barrier() __asm__ __volatile__("": : :"memory") \end{verbatim} -} +\end{minipage} \vspace{5pt} \QuickQuiz{} -- 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