Page/column break in the middle of this snippet should better be
avoided.
Signed-off-by: Akira Yokosawa <[email protected]>
---
cpu/overview.tex | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpu/overview.tex b/cpu/overview.tex
index eedf8491..8a184f3c 100644
--- a/cpu/overview.tex
+++ b/cpu/overview.tex
@@ -255,7 +255,7 @@ as described in the next section.
In the meantime, consider the following simple lock-based \IX{critical
section}:
-\begin{VerbatimN}
+\begin{VerbatimN}[samepage=true]
spin_lock(&mylock);
a = a + 1;
spin_unlock(&mylock);
--
2.43.0