Update arch/sparc/include/spinlock.h

Co-authored-by: Alan Carvalho de Assis <alan.carvalho@espressif.com>
This commit is contained in:
zouboan 2022-10-17 22:42:03 +08:00 committed by Xiang Xiao
parent d51d109d0a
commit ba2b37e23f
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@
/* The Type of a spinlock.
*
* This must be a uint32_ becaue it will be set using CASA instruction.
* This must be a uint32_ because it will be set using CASA instruction.
* That instruction atomically Compare the 32-bitvalues in the register
* and memory, if its current value is the expected one. swap the values
* of second register with the memory.