Skip to content

Commit

Permalink
tools/memory-model: Fix smp_mb__after_spinlock() spelling
Browse files Browse the repository at this point in the history
A misspelled git-grep regex revealed that smp_mb__after_spinlock()
was misspelled in explanation.txt.  This commit adds the missing "_".

Fixes: 1c27b64 ("Automate memory-barriers.txt; provide Linux-kernel memory model")
[ paulmck: Apply Alan Stern commit-log feedback. ]
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
  • Loading branch information
Björn Töpel authored and Paul E. McKenney committed May 10, 2021
1 parent 6efb943 commit d25fba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/memory-model/Documentation/explanation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2510,7 +2510,7 @@ they behave as follows:
smp_mb__after_atomic() orders po-earlier atomic updates and
the events preceding them against all po-later events;

smp_mb_after_spinlock() orders po-earlier lock acquisition
smp_mb__after_spinlock() orders po-earlier lock acquisition
events and the events preceding them against all po-later
events.

Expand Down

0 comments on commit d25fba0

Please sign in to comment.