Changeset 43b7b35 in mainline
- Timestamp:
- 2008-08-31T19:54:09Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 82b72e40
- Parents:
- bf29fe5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/include/atomic.h
rbf29fe5 r43b7b35 109 109 "mov %0, %1\n" 110 110 "testq %1, %1\n" 111 "jnz 0b\n" /* Lightweight looping on locked spinlock */111 "jnz 0b\n" /* lightweight looping on locked spinlock */ 112 112 113 113 "incq %1\n" /* now use the atomic operation */ … … 115 115 "testq %1, %1\n" 116 116 "jnz 0b\n" 117 : "+m" (val->count), "= r"(tmp)117 : "+m" (val->count), "=&r" (tmp) 118 118 ); 119 119 /*
Note:
See TracChangeset
for help on using the changeset viewer.