Return to __CAS.S CVS log | Up to [DVB] / dietlibc / i386 |
various build fixes, add sys/atomic.h and the __CAS function
.text .global __CAS .type __CAS,@function __CAS: movl 4(%esp), %edx movl 8(%esp), %eax movl 12(%esp), %ecx lock cmpxchgl %ecx, (%edx) ret .size __CAS, .-__CAS