mirror of
https://github.com/apache/nuttx.git
synced 2026-08-09 22:45:08 +00:00
Update arch/sparc/include/spinlock.h
Co-authored-by: Alan Carvalho de Assis <alan.carvalho@espressif.com>
This commit is contained in:
parent
d51d109d0a
commit
ba2b37e23f
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue