summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_syscalls.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-02-17 01:03:06 +0000
committerkib <kib@FreeBSD.org>2015-02-17 01:03:06 +0000
commit0cb0cb1b24a8ada17d71f3f1cad36e89d0c0ccfc (patch)
tree6c211c0db8606bd913bc7ca6b008edcddc8f1cd3 /lib/libthr/thread/thr_syscalls.c
parentc30b890b0bb2a5cdb5c6bf8b1b31ac21d986f650 (diff)
downloadFreeBSD-src-0cb0cb1b24a8ada17d71f3f1cad36e89d0c0ccfc.zip
FreeBSD-src-0cb0cb1b24a8ada17d71f3f1cad36e89d0c0ccfc.tar.gz
MFC r278751:
Properly interpose libc spinlocks, was missed in r276630.
Diffstat (limited to 'lib/libthr/thread/thr_syscalls.c')
-rw-r--r--lib/libthr/thread/thr_syscalls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libthr/thread/thr_syscalls.c b/lib/libthr/thread/thr_syscalls.c
index 06b63c8..10fbad4 100644
--- a/lib/libthr/thread/thr_syscalls.c
+++ b/lib/libthr/thread/thr_syscalls.c
@@ -597,6 +597,8 @@ __thr_interpose_libc(void)
SLOT(wait4);
SLOT(write);
SLOT(writev);
+ SLOT(spinlock);
+ SLOT(spinunlock);
#undef SLOT
*(__libc_interposing_slot(
INTERPOS__pthread_mutex_init_calloc_cb)) =
OpenPOWER on IntegriCloud