Skip to contentSkip to conversation

Documentation: RCU: lockdep.txt: Convert to lockdep.rst

PATCH Superseded Pawan Kumar Meena 2 participants 2 messages Feb 29, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: RCU: lockdep.txt: Convert to lockdep.rst

This patch converts lockdep.txt to lockdep.rst and adds it to index.rst.

---
 Documentation/RCU/index.rst                    | 1 +
 Documentation/RCU/{lockdep.txt => lockdep.rst} | 2 ++
 2 files changed, 3 insertions(+)
 rename Documentation/RCU/{lockdep.txt => lockdep.rst} (99%)
Documentation/RCU/index.rst +1 -0
index 81a0a1e5f767..109dea13f165 100644
@@ -10,6 +10,7 @@ RCU concepts
    arrayRCU
    rcubarrier
    rcu_dereference
+   lockdep
    whatisRCU
    rcu
    listRCU
Documentation/RCU/lockdep.rst renamed from Documentation/RCU/lockdep.txt +2 -0
similarity index 99%
rename from Documentation/RCU/lockdep.txt
rename to Documentation/RCU/lockdep.rst
index 89db949eeca0..4e71f77bdd28 100644
@@ -1,3 +1,5 @@
+.. _lockdep_doc:
+
 RCU and lockdep checking
 
 All flavors of RCU have lockdep checking available, so that lockdep is
Signature · 1 line
2.17.1
maintainer
#1 lore raw

Documentation/RCU/lockdep.rst line 5

Quoted 13 lines · On Sun, 1 Mar 2020 01:16:36 +0530 Pawan Kumar Meena <[email protected]>…
Documentation/RCU/lockdep.rst renamed from Documentation/RCU/lockdep.txt +2 -0
similarity index 99%
rename from Documentation/RCU/lockdep.txt
rename to Documentation/RCU/lockdep.rst
index 89db949eeca0..4e71f77bdd28 100644
@@ -1,3 +1,5 @@
+.. _lockdep_doc:
+
 RCU and lockdep checking
 
 All flavors of RCU have lockdep checking available, so that lockdep is

So what about the rest of the file? You've renamed it, but there's no formatting changes to the document itself.

Also... we don't add labels to code just because we might want to jump to them someday. Similarly, I don't think we should add labels to the docs unless we actually need them.

Thanks,

jon