tools/memory-model: Fix smp_mb__after_spinlock() spelling
authorBjörn Töpel <bjorn.topel@intel.com>
Fri, 5 Mar 2021 10:28:23 +0000 (11:28 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 10 May 2021 23:27:20 +0000 (16:27 -0700)
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 <bjorn.topel@intel.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/memory-model/Documentation/explanation.txt

index f9d610d5a1a4cddd6058cdcb3acef991eb15bceb..5d72f3112e5657bbbacc0849545cd17b09eede32 100644 (file)
@@ -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.