Skip to content

Commit 4bfdebd

Browse files
sj-awsJonathan Corbet
authored andcommitted
docs/locking: Fix outdated section names
Commit 2e4f538 ("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>
1 parent 77ce1a4 commit 4bfdebd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Documentation/locking/spinlocks.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ worry about UP vs SMP issues: the spinlocks work correctly under both.
2525

2626
Documentation/memory-barriers.txt
2727

28-
(5) LOCK operations.
28+
(5) ACQUIRE operations.
2929

30-
(6) UNLOCK operations.
30+
(6) RELEASE operations.
3131

3232
The above is usually pretty simple (you usually need and want only one
3333
spinlock for most things - using more than one spinlock can make things a

0 commit comments

Comments
 (0)