From patchwork Tue Dec 17 21:47:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 36931 Received: (qmail 111806 invoked by alias); 17 Dec 2019 21:47:57 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 111727 invoked by uid 89); 17 Dec 2019 21:47:57 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-21.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=1616 X-HELO: mail-pf1-f193.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=eJieeQ2goXii4/MXcBFYmTsVb5z8TES9VP0OgirDd0Y=; b=GJ8pOPyy9ur5R/HhTVF1AqfeAcOVcAQchvAYAMsu90MSIguxbrVa2+qc8xnB/2v4Vj vsvJ95A1s9AafViDp7Bsp64zvdVb132cOzB3RebPmiFng6eY9+Iz/uFIDK7NoqEHVglu FbTo68Mmxu3H3mL8rF1NLcUb23EEmpZusIKoBUYfWZ0wzSmPXECI4w5sMsx+r+zNce1v +k9/uShtB6geXZaPVDCFyeKyzb34PdVKbQ8t4swtq0zEbQgvBnPSmaWILHR3CRoYrSmX ac0JQHO1ZAnGcaMB/iydk/VrEtbwYdEO/wQM0KvcQW2+dKKzbSRMIhFuADdnsJU4AKyH 57yA== Return-Path: From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 14/16] linux: Enable vDSO clock_gettime64 for mips Date: Tue, 17 Dec 2019 18:47:26 -0300 Message-Id: <20191217214728.2886-14-adhemerval.zanella@linaro.org> In-Reply-To: <20191217214728.2886-1-adhemerval.zanella@linaro.org> References: <20191217214728.2886-1-adhemerval.zanella@linaro.org> It was added on Linux 5.4 (commit 1f66c45db3302). Reviewed-by: Siddhesh Poyarekar --- sysdeps/unix/sysv/linux/mips/sysdep.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sysdeps/unix/sysv/linux/mips/sysdep.h b/sysdeps/unix/sysv/linux/mips/sysdep.h index c2bec03806..67a2f74df2 100644 --- a/sysdeps/unix/sysv/linux/mips/sysdep.h +++ b/sysdeps/unix/sysv/linux/mips/sysdep.h @@ -16,11 +16,16 @@ License along with the GNU C Library. If not, see . */ +#include + #define VDSO_NAME "LINUX_2.6" #define VDSO_HASH 61765110 /* List of system calls which are supported as vsyscalls. */ #define HAVE_CLOCK_GETTIME_VSYSCALL "__vdso_clock_gettime" +#if _MIPS_SIM != _ABI64 +#define HAVE_CLOCK_GETTIME64_VSYSCALL "__vdso_clock_gettime64" +#endif #define HAVE_GETTIMEOFDAY_VSYSCALL "__vdso_gettimeofday" #define HAVE_CLOCK_GETRES_VSYSCALL "__vdso_clock_getres"