Fix a abnormal function ref link in locking.rst
Convert a path
Fixes: b1735296cef9 ("docs: locking: Drop :c:func: throughout")
Signed-off-by: Wu XiangCheng <redacted>
---
Documentation/kernel-hacking/locking.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/kernel-hacking/locking.rst b/Documentation/kernel-hacking/locking.rst
index ed1284c6f078..9bcd70aa8411 100644
--- a/Documentation/kernel-hacking/locking.rst
+++ b/Documentation/kernel-hacking/locking.rst
@@ -1323,7 +1323,7 @@ from user context, and can sleep.
- put_user()
-- kmalloc(GP_KERNEL) <kmalloc>`
+- :c:func:`kmalloc(GFP_KERNEL) <kmalloc>`
- mutex_lock_interruptible() and
mutex_lock()@@ -1364,7 +1364,7 @@ Futex API reference
Further reading
===============
-- ``Documentation/locking/spinlocks.rst``: Linus Torvalds' spinlocking
+- Documentation/locking/spinlocks.rst: Linus Torvalds' spinlocking
tutorial in the kernel sources.
- Unix Systems for Modern Architectures: Symmetric Multiprocessing and--
2.20.1