summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.c b/libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.c
index 1aa79609a..fd39fe907 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.c
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.c
@@ -24,8 +24,10 @@
#include <tls.h>
#include <tcb-offsets.h>
-
void
+#ifndef IS_IN_libpthread
+weak_function
+#endif
__lll_lock_wait_private (int *futex)
{
if (*futex == 2)