Changeset 2a3124c in mainline for kernel/arch/mips32/include/atomic.h
- Timestamp:
- 2008-06-18T09:47:26Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 18ad03f3
- Parents:
- 4a23cb6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/include/atomic.h
r4a23cb6 r2a3124c 59 59 "1:\n" 60 60 " ll %0, %1\n" 61 " add iu %0, %0, %3\n" /* same as addi, but never traps on overflow */61 " addu %0, %0, %3\n" /* same as addi, but never traps on overflow */ 62 62 " move %2, %0\n" 63 63 " sc %0, %1\n" … … 65 65 " nop\n" 66 66 : "=&r" (tmp), "+m" (val->count), "=&r" (v) 67 : " i" (i), "i" (0)67 : "r" (i), "i" (0) 68 68 ); 69 69
Note:
See TracChangeset
for help on using the changeset viewer.