[tip: locking/urgent] tools/memory-model: Fix smp_mb__after_spinlock() spelling

From: tip-bot2 for Björn Töpel
Date: Wed Jun 30 2021 - 09:53:47 EST


The following commit has been merged into the locking/urgent branch of tip:

Commit-ID: d25fba0e34742f19b5ca307c60c4d260ca5a754a
Gitweb: https://git.kernel.org/tip/d25fba0e34742f19b5ca307c60c4d260ca5a754a
Author: Björn Töpel <bjorn.topel@xxxxxxxxx>
AuthorDate: Fri, 05 Mar 2021 11:28:23 +01:00
Committer: Paul E. McKenney <paulmck@xxxxxxxxxx>
CommitterDate: Mon, 10 May 2021 16:27:20 -07:00

tools/memory-model: Fix smp_mb__after_spinlock() spelling

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@xxxxxxxxx>
Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
---
tools/memory-model/Documentation/explanation.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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.