Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fourcolor committed Sep 3, 2023
1 parent 0addb86 commit 34eb620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lkmpg.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit 34eb620

Please sign in to comment.