Changes in uspace/lib/c/arch/mips32/include/atomic.h [27ba40f:34f0448] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/mips32/include/atomic.h
r27ba40f r34f0448 67 67 " ll %0, %1\n" 68 68 " addu %0, %0, %3\n" /* same as add, but never traps on overflow */ 69 " 69 " move %2, %0\n" 70 70 " sc %0, %1\n" 71 71 " beq %0, %4, 1b\n" /* if the atomic operation failed, try again */
Note:
See TracChangeset
for help on using the changeset viewer.