Changeset a35b458 in mainline for uspace/lib/c/arch/amd64/include/libarch/atomic.h
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/amd64/include/libarch/atomic.h
r3061bc1 ra35b458 75 75 { 76 76 atomic_count_t r = 1; 77 77 78 78 #ifdef __PCC__ 79 79 asm volatile ( … … 89 89 ); 90 90 #endif 91 91 92 92 return r; 93 93 } … … 96 96 { 97 97 atomic_count_t r = -1; 98 98 99 99 #ifdef __PCC__ 100 100 asm volatile ( … … 110 110 ); 111 111 #endif 112 112 113 113 return r; 114 114 }
Note:
See TracChangeset
for help on using the changeset viewer.