aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/kernel-hacking
diff options
context:
space:
mode:
authorJoe Pater <02joepater06@gmail.com>2021-01-11 10:32:41 +0000
committerJonathan Corbet <corbet@lwn.net>2021-01-11 12:44:53 -0700
commit3a4928cf5e3c91fc9703992358db23202ee3e82f (patch)
tree45fcd586b76ab8ae53c44db623bd5e99580d28d2 /Documentation/kernel-hacking
parentLinux 5.11-rc3 (diff)
downloadlinux-dev-3a4928cf5e3c91fc9703992358db23202ee3e82f.tar.xz
linux-dev-3a4928cf5e3c91fc9703992358db23202ee3e82f.zip
Documentation: kernel-hacking: change 'current()' to 'current'
Change 'current()' heading to 'current' to reflect usage. Signed-off-by: Joe Pater <02joepater06@gmail.com> Link: https://lore.kernel.org/r/20210111103240.7445-1-02joepater06@gmail.com Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/kernel-hacking')
-rw-r--r--Documentation/kernel-hacking/hacking.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking/hacking.rst
index eed2136d847f..451523424942 100644
--- a/Documentation/kernel-hacking/hacking.rst
+++ b/Documentation/kernel-hacking/hacking.rst
@@ -346,8 +346,8 @@ routine.
Before inventing your own cache of often-used objects consider using a
slab cache in ``include/linux/slab.h``
-:c:func:`current()`
--------------------
+:c:macro:`current`
+------------------
Defined in ``include/asm/current.h``