docs: locking: convert docs to ReST and rename to *.rst
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 10 Apr 2019 11:32:41 +0000 (08:32 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 15 Jul 2019 11:53:27 +0000 (08:53 -0300)
commit387b14684f94483cbbb72843db406ec9a8d0d6d2
tree95ef5ba916b0dd33a6ce5e740240ef523fdc5bd8
parentfec88ab0af9706b2201e5daf377c5031c62d11f7
docs: locking: convert docs to ReST and rename to *.rst

Convert the locking documents to ReST and add them to the
kernel development book where it belongs.

Most of the stuff here is just to make Sphinx to properly
parse the text file, as they're already in good shape,
not requiring massive changes in order to be parsed.

The conversion is actually:
  - add blank lines and identation in order to identify paragraphs;
  - fix tables markups;
  - add some lists markups;
  - mark literal blocks;
  - adjust title markups.

At its new index.rst, let's add a :orphan: while this is not linked to
the main index.rst file, in order to avoid build warnings.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Acked-by: Federico Vaga <federico.vaga@vaga.pv.it>
20 files changed:
Documentation/kernel-hacking/locking.rst
Documentation/locking/index.rst [new file with mode: 0644]
Documentation/locking/lockdep-design.rst [moved from Documentation/locking/lockdep-design.txt with 93% similarity]
Documentation/locking/lockstat.rst [new file with mode: 0644]
Documentation/locking/lockstat.txt [deleted file]
Documentation/locking/locktorture.rst [moved from Documentation/locking/locktorture.txt with 57% similarity]
Documentation/locking/mutex-design.rst [moved from Documentation/locking/mutex-design.txt with 94% similarity]
Documentation/locking/rt-mutex-design.rst [moved from Documentation/locking/rt-mutex-design.txt with 91% similarity]
Documentation/locking/rt-mutex.rst [moved from Documentation/locking/rt-mutex.txt with 71% similarity]
Documentation/locking/spinlocks.rst [moved from Documentation/locking/spinlocks.txt with 89% similarity]
Documentation/locking/ww-mutex-design.rst [moved from Documentation/locking/ww-mutex-design.txt with 93% similarity]
Documentation/pi-futex.txt
Documentation/translations/it_IT/kernel-hacking/locking.rst
drivers/gpu/drm/drm_modeset_lock.c
include/linux/lockdep.h
include/linux/mutex.h
include/linux/rwsem.h
kernel/locking/mutex.c
kernel/locking/rtmutex.c
lib/Kconfig.debug