OSDN Git Service

xtensa: use atomic instructions instead of a syscall
authorChris Zankel <chris@zankel.net>
Wed, 17 Oct 2012 23:02:01 +0000 (16:02 -0700)
committerChris Zankel <chris@zankel.net>
Sat, 3 Nov 2012 19:57:45 +0000 (12:57 -0700)
commit5c0a3b60fbc3442a14169a37657b27ff3173f9db
treedf5678bbdaa4d45b7a4e2a9b352fe536dc14e0a1
parent888b232d1e6bf6819aec7f13be298226ce91bf5b
xtensa: use atomic instructions instead of a syscall

Replace system calls with atomic instructions for 'compare and swap'
in linuxthreads.old.

Signed-off-by: Chris Zankel <chris@zankel.net>
libpthread/linuxthreads.old/sysdeps/xtensa/pt-machine.h