From 34eb62045e9dc3afb8e7c46a47b75f58785efb35 Mon Sep 17 00:00:00 2001 From: Shih-Sheng Yang Date: Sun, 3 Sep 2023 13:06:13 +0800 Subject: [PATCH] Fix typo --- lkmpg.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lkmpg.tex b/lkmpg.tex index c22adab4..d8a09aa0 100644 --- a/lkmpg.tex +++ b/lkmpg.tex @@ -2087,7 +2087,7 @@ \subsection{Static keys} If the key is enabled at runtime by calling \cpp|static_branch_enable(&fkey)|, the fastpath will be patched with an unconditional jump instruction to the slowpath code \cpp|pr_alert|, so the branch will always be taken until the key is disabled again. -The following kernel module derived from \verb|chardev.c|, demostrates how the static key works. +The following kernel module derived from \verb|chardev.c|, demonstrates how the static key works. \samplec{examples/static_key.c}