Skip to content

Commit

Permalink
docs/locking: Fix outdated section names
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
SeongJae Park authored and Jonathan Corbet committed Feb 5, 2020
1 parent 77ce1a4 commit 4bfdebd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/locking/spinlocks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4bfdebd

Please sign in to comment.