Changeset 5336643 in mainline
- Timestamp:
- 2008-06-16T21:28:37Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ad2e39b
- Parents:
- 3527a93
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/include/atomic.h
r3527a93 r5336643 64 64 " beq %0, %4, 1b\n" /* if the atomic operation failed, try again */ 65 65 " nop\n" 66 : "=&r" (tmp), " =m" (val->count), "=&r" (v)66 : "=&r" (tmp), "+m" (val->count), "=&r" (v) 67 67 : "i" (i), "i" (0) 68 68 ); -
uspace/lib/libc/arch/mips32/include/atomic.h
r3527a93 r5336643 65 65 " beq %0, %4, 1b\n" /* if the atomic operation failed, try again */ 66 66 /* nop */ /* nop is inserted automatically by compiler */ 67 : "=&r" (tmp), " =m" (val->count), "=&r" (v)67 : "=&r" (tmp), "+m" (val->count), "=&r" (v) 68 68 : "i" (i), "i" (0) 69 69 );
Note:
See TracChangeset
for help on using the changeset viewer.