Changeset 2f40fe4 in mainline for arch/mips32/include/atomic.h
- Timestamp:
- 2006-07-01T21:40:36Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5eabe73
- Parents:
- 7ee0e2f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips32/include/atomic.h
r7ee0e2f r2f40fe4 27 27 */ 28 28 29 29 /** @addtogroup mips32 30 30 * @{ 31 31 */ … … 63 63 " sc %0, %1\n" 64 64 " beq %0, %4, 1b\n" /* if the atomic operation failed, try again */ 65 /* nop */ /* nop is inserted automatically by compiler */65 " nop\n" 66 66 : "=r" (tmp), "=m" (val->count), "=r" (v) 67 67 : "i" (i), "i" (0) … … 73 73 #endif 74 74 75 75 /** @} 76 76 */ 77
Note:
See TracChangeset
for help on using the changeset viewer.