Changeset f1c7755 in mainline for kernel/test/atomic/atomic1.c
- Timestamp:
- 2012-08-05T00:12:33Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b17518e
- Parents:
- 6eaed07
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/atomic/atomic1.c
r6eaed07 rf1c7755 71 71 return "Failed atomic_cas_ptr(): changed the ptr"; 72 72 73 ptr = 0; 74 if (atomic_swap_ptr(&ptr, a_ptr) != 0) 75 return "Failed atomic_swap_ptr()"; 76 if (atomic_swap_ptr_local(&ptr, 0) != a_ptr || ptr != 0) 77 return "Failed atomic_swap_ptr_local()"; 78 73 79 return NULL; 74 80 }
Note:
See TracChangeset
for help on using the changeset viewer.