[PATCH] doc:locking: add hyperlinks to rt-mutex document

From: Federico Vaga
Date: Sun Apr 05 2020 - 17:05:42 EST


The patch add missing hyperlinks to the rt-mutex document

Signed-off-by: Federico Vaga <federico.vaga@xxxxxxxxxx>
---
Documentation/locking/rt-mutex-design.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/locking/rt-mutex-design.rst b/Documentation/locking/rt-mutex-design.rst
index bdd6b0013e02..15dc8db8b804 100644
--- a/Documentation/locking/rt-mutex-design.rst
+++ b/Documentation/locking/rt-mutex-design.rst
@@ -9,7 +9,7 @@ Licensed under the GNU Free Documentation License, Version 1.2

This document tries to describe the design of the rtmutex.c implementation.
It doesn't describe the reasons why rtmutex.c exists. For that please see
-Documentation/locking/rt-mutex.rst. Although this document does explain problems
+:doc:`./rt-mutex`. Although this document does explain problems
that happen without this code, but that is in the concept to understand
what the code actually is doing.

@@ -308,7 +308,7 @@ not true, the rtmutex.c code will be broken!), this allows for the least
significant bit to be used as a flag. Bit 0 is used as the "Has Waiters"
flag. It's set whenever there are waiters on a mutex.

-See Documentation/locking/rt-mutex.rst for further details.
+See :doc:`./rt-mutex` for further details.

cmpxchg Tricks
--------------
--
2.25.1