From: Szabolcs Nagy Date: Mon, 9 Feb 2015 21:11:52 +0000 (+0100) Subject: use the internal macro name FUTEX_PRIVATE in __wait X-Git-Tag: v1.1.7~57 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=339cc250f6dda06e7a26fcbcc66e3a1bbec2b494;p=oweals%2Fmusl.git use the internal macro name FUTEX_PRIVATE in __wait the name was recently added for the setxid/synccall rework, so use the name now that we have it. --- diff --git a/src/thread/__wait.c b/src/thread/__wait.c index 01ee5982..dc33c1a3 100644 --- a/src/thread/__wait.c +++ b/src/thread/__wait.c @@ -3,7 +3,7 @@ void __wait(volatile int *addr, volatile int *waiters, int val, int priv) { int spins=100; - if (priv) priv = 128; + if (priv) priv = FUTEX_PRIVATE; while (spins-- && (!waiters || !*waiters)) { if (*addr==val) a_spin(); else return;