diff options
author | Ingo Molnar <mingo@kernel.org> | 2021-03-22 02:35:05 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2021-03-22 02:45:52 +0100 |
commit | e2db7592be8e83df47519116621411e1056b21c7 (patch) | |
tree | ba97ab33fdee9ad9d6605a6d6a407adb63a1cf91 /kernel/locking/rwsem.c | |
parent | locking/locktorture: Fix incorrect use of ww_acquire_ctx in ww_mutex test (diff) | |
download | linux-e2db7592be8e83df47519116621411e1056b21c7.tar.xz linux-e2db7592be8e83df47519116621411e1056b21c7.zip |
locking: Fix typos in comments
Fix ~16 single-word typos in locking code comments.
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Paul E. McKenney <paulmck@kernel.org>
Cc: Will Deacon <will.deacon@arm.com>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/locking/rwsem.c')
-rw-r--r-- | kernel/locking/rwsem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/locking/rwsem.c b/kernel/locking/rwsem.c index fe9cc65cd522..809b0016d344 100644 --- a/kernel/locking/rwsem.c +++ b/kernel/locking/rwsem.c @@ -819,7 +819,7 @@ static bool rwsem_optimistic_spin(struct rw_semaphore *sem) * we try to get it. The new owner may be a spinnable * writer. * - * To take advantage of two scenarios listed agove, the RT + * To take advantage of two scenarios listed above, the RT * task is made to retry one more time to see if it can * acquire the lock or continue spinning on the new owning * writer. Of course, if the time lag is long enough or the |