From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id A5C94383303C; Mon, 23 Nov 2020 20:49:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A5C94383303C Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/azanella/futex-refactor] linux: nptl: Replace lll_futex_supported_clockid with futex-internal.h X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/futex-refactor X-Git-Oldrev: 2da7124e7ff123aac1fc65f92e87e11e4e7397fb X-Git-Newrev: 4c9675eaf1aa088b94ee716340bb5b7673ba6002 Message-Id: <20201123204915.A5C94383303C@sourceware.org> Date: Mon, 23 Nov 2020 20:49:15 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2020 20:49:15 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4c9675eaf1aa088b94ee716340bb5b7673ba6002 commit 4c9675eaf1aa088b94ee716340bb5b7673ba6002 Author: Adhemerval Zanella Date: Mon Nov 23 10:16:33 2020 -0300 linux: nptl: Replace lll_futex_supported_clockid with futex-internal.h The idea is to make NPTL implementation to use on the functions provided by futex-internal.h. Checked on x86_64-linux-gnu and i686-linux-gnu. Diff: --- nptl/pthread_mutex_timedlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_mutex_timedlock.c b/nptl/pthread_mutex_timedlock.c index 343acf6107..b42862193a 100644 --- a/nptl/pthread_mutex_timedlock.c +++ b/nptl/pthread_mutex_timedlock.c @@ -600,7 +600,7 @@ __pthread_mutex_clocklock64 (pthread_mutex_t *mutex, clockid_t clockid, const struct __timespec64 *abstime) { - if (__glibc_unlikely (!lll_futex_supported_clockid (clockid))) + if (__glibc_unlikely (!futex_abstimed_supported_clockid (clockid))) return EINVAL; LIBC_PROBE (mutex_clocklock_entry, 3, mutex, clockid, abstime);