Documentation: Fix duplicate statement about raw_spinlock_t type
authorGuilherme G. Piccoli <gpiccoli@igalia.com>
Mon, 21 Mar 2022 14:41:33 +0000 (11:41 -0300)
committerJonathan Corbet <corbet@lwn.net>
Fri, 25 Mar 2022 19:30:08 +0000 (13:30 -0600)
Unless it was duplicate on purpose, to emphasize that a raw_spinlock_t
is always a spinning lock regardless of PREEMPT_RT or kernel config,
it's a bit odd that this text is duplicate. So, this patch just clean
it up, keeping the consistency with the other sections of the text.

Cc: Thomas Gleixner <tglx@linutronix.de>
Fixes: 919e9e6395cf ("Documentation: Add lock ordering and nesting documentation")
Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
Link: https://lore.kernel.org/r/20220321144133.49804-1-gpiccoli@igalia.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/locking/locktypes.rst

index bfa75ea1b66a3c305ec0b68eb91e95bfc2e935ac..9933faad47714c2cc79a91e7f5016df169a6c374 100644 (file)
@@ -211,9 +211,6 @@ raw_spinlock_t and spinlock_t
 raw_spinlock_t
 --------------
 
-raw_spinlock_t is a strict spinning lock implementation regardless of the
-kernel configuration including PREEMPT_RT enabled kernels.
-
 raw_spinlock_t is a strict spinning lock implementation in all kernels,
 including PREEMPT_RT kernels.  Use raw_spinlock_t only in real critical
 core code, low-level interrupt handling and places where disabling