summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/include/bits/_lock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/include/bits/_lock.h b/lib/libc/include/bits/_lock.h
index 4cfec0b..633ac31 100644
--- a/lib/libc/include/bits/_lock.h
+++ b/lib/libc/include/bits/_lock.h
@@ -37,7 +37,7 @@ typedef struct {
} __libc_spinlock_t;
#if defined(__x86_64__)
-__attribute__((__always_inline__, __weak__)) inline int
+__attribute__((__always_inline__)) inline int
__test_and_set(__libc_spinlock_t *lock)
{
int tmp = 0;