projects/linux·commit d25fba0e

tools/memory-model: Fix smp_mb__after_spinlock() spelling

d25fba0e · Björn Töpel <[email protected]> · 2021-03-05 11:28:23 +01:00

A misspelled git-grep regex revealed that smp_mb__after_spinlock()
was misspelled in explanation.txt.  This commit adds the missing "_".

Fixes: 1c27b644c0fd ("Automate memory-barriers.txt; provide Linux-kernel memory model")
[ paulmck: Apply Alan Stern commit-log feedback. ]
Signed-off-by: Björn Töpel <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Commit
d25fba0e34742f19b5ca307c60c4d260ca5a754a
Parents
6efb943b

Changes

1 files changed · +1 −1

FileStatusAddDelContent
tools/memory-model/Documentation/explanation.txtmodified+1−1View file

tools/memory-model/Documentation/explanation.txt

View file
diff --git a/tools/memory-model/Documentation/explanation.txt b/tools/memory-model/Documentation/explanation.txt
index f9d610d..5d72f31 100644
--- a/tools/memory-model/Documentation/explanation.txt
+++ b/tools/memory-model/Documentation/explanation.txt
@@ -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.