projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c53f6b
)
Documentation: kernel-hacking: change 'current()' to 'current'
author
Joe Pater
<02joepater06@gmail.com>
Mon, 11 Jan 2021 10:32:41 +0000
(10:32 +0000)
committer
Jonathan Corbet
<corbet@lwn.net>
Mon, 11 Jan 2021 19:44:53 +0000
(12:44 -0700)
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>
Documentation/kernel-hacking/hacking.rst
patch
|
blob
|
history
diff --git
a/Documentation/kernel-hacking/hacking.rst
b/Documentation/kernel-hacking/hacking.rst
index
eed2136
..
4515234
100644
(file)
--- 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``