summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads/sysdeps/sh
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-06-18 14:36:55 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-06-18 14:36:55 +0000
commit5ffc30ac873a193b37e6f3bfde022b94fc6fab0d (patch)
tree9854f6f9f9705d93a193f4cb2a15c08fe68e4c0f /libpthread/linuxthreads/sysdeps/sh
parentaec95adbb445a6cb45e4609bc35f4fd0b3e67250 (diff)
downloaduClibc-alpine-5ffc30ac873a193b37e6f3bfde022b94fc6fab0d.tar.bz2
uClibc-alpine-5ffc30ac873a193b37e6f3bfde022b94fc6fab0d.tar.xz
Synch linuxthreds with trunk
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/sh')
-rw-r--r--libpthread/linuxthreads/sysdeps/sh/pt-machine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpthread/linuxthreads/sysdeps/sh/pt-machine.h b/libpthread/linuxthreads/sysdeps/sh/pt-machine.h
index 4ec87ad89..793f80b2d 100644
--- a/libpthread/linuxthreads/sysdeps/sh/pt-machine.h
+++ b/libpthread/linuxthreads/sysdeps/sh/pt-machine.h
@@ -29,6 +29,8 @@
# define PT_EI __extern_always_inline
#endif
+extern long int testandset (int *spinlock);
+
/* Spinlock implementation; required. */
PT_EI long int
testandset (int *spinlock)