summaryrefslogtreecommitdiff
path: root/Documentation/locking
diff options
context:
space:
mode:
authorSeongJae Park <sjpark@amazon.com>2020-01-31 23:52:33 +0300
committerJonathan Corbet <corbet@lwn.net>2020-02-05 20:21:12 +0300
commit4bfdebd6202da4cbf723c53f475999b7537d4e48 (patch)
treec05b56eb3b0353b278ca440db6f890c81d593d3d /Documentation/locking
parent77ce1a47ebca88bf1eb3018855fc1709c7a1ed86 (diff)
downloadlinux-4bfdebd6202da4cbf723c53f475999b7537d4e48.tar.xz
docs/locking: Fix outdated section names
Commit 2e4f5382d12a ("locking/doc: Rename LOCK/UNLOCK to ACQUIRE/RELEASE") has not appied to 'spinlock.rst'. This commit updates the doc for the change. Signed-off-by: SeongJae Park <sjpark@amazon.com> Link: https://lore.kernel.org/r/20200131205237.29535-2-sj38.park@gmail.com Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/locking')
-rw-r--r--Documentation/locking/spinlocks.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/locking/spinlocks.rst b/Documentation/locking/spinlocks.rst
index 66e3792f8a36..bec96f7a9f2d 100644
--- a/Documentation/locking/spinlocks.rst
+++ b/Documentation/locking/spinlocks.rst
@@ -25,9 +25,9 @@ worry about UP vs SMP issues: the spinlocks work correctly under both.
Documentation/memory-barriers.txt
- (5) LOCK operations.
+ (5) ACQUIRE operations.
- (6) UNLOCK operations.
+ (6) RELEASE operations.
The above is usually pretty simple (you usually need and want only one
spinlock for most things - using more than one spinlock can make things a