aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/alpha/sem_post.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-05-22 08:51:13 -0700
committerRichard Henderson <rth@twiddle.net>2014-05-23 11:20:48 -0700
commitbc89e9625fc0d638c4bb43c91fac01db181f1b31 (patch)
treed03992ccdd7515294d2c2d0ffc2e6ee1be3768b8 /sysdeps/unix/sysv/linux/alpha/sem_post.c
parente2fa4bc2bbba75a8244d11da46ab2154e22cdabd (diff)
downloadglibc-bc89e9625fc0d638c4bb43c91fac01db181f1b31.tar
glibc-bc89e9625fc0d638c4bb43c91fac01db181f1b31.tar.gz
glibc-bc89e9625fc0d638c4bb43c91fac01db181f1b31.tar.bz2
glibc-bc89e9625fc0d638c4bb43c91fac01db181f1b31.zip
alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha/sem_post.c')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/sem_post.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/sem_post.c b/sysdeps/unix/sysv/linux/alpha/sem_post.c
new file mode 100644
index 0000000000..befa49723b
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/alpha/sem_post.c
@@ -0,0 +1,5 @@
+/* ??? This is an ass-backwards way to do this. We should simply define
+ the acquire/release semantics of atomic_exchange_and_add. And even if
+ we don't do this, we should be using atomic_full_barrier or otherwise. */
+#define __lll_rel_instr "mb"
+#include <nptl/sysdeps/unix/sysv/linux/sem_post.c>