From patchwork Thu Dec 12 18:16:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 36798 Received: (qmail 45343 invoked by alias); 12 Dec 2019 18:16:39 -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 45202 invoked by uid 89); 12 Dec 2019 18:16:38 -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= X-HELO: mail-vs1-f65.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=gHsAWySWk9QZaUrvpDDXt5PPnjcjkhbvV/r+xdkoKIY=; b=mFO4Ru67p8kaex8Q0a/uuIbeNDQDbqZ+3cbniLa+O8NDpJWjeVbzyN1Tpyeg6iQTSh Xvz8y7orelQOgRuqEzNPCVYDNpWWML9ReuYfPo2o/EwdUMyMCWrEgJajAhvoL0lLxuw8 DDXe6hbGt7PwsbGvatHpE7MsmKGCECBCcJTsP5TaloxFNfcHulsOJXIPdbEm3jjUD4gr wrnrbmtW9LKDGktGc+yia/qQz8bvZnY/JP8V92tBr9TulFh3g9pk5ldd4V4ioDFnVn3F v6AciC3/x1wjVKbyedHjT/bimAMznzURV/ww9o5Kf8IwmmjWvsPlt5/bArjomq4J8w7U ZHqQ== Return-Path: From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 11/12] Enable vDSO clock_gettime64 for mips Date: Thu, 12 Dec 2019 15:16:13 -0300 Message-Id: <20191212181614.31782-11-adhemerval.zanella@linaro.org> In-Reply-To: <20191212181614.31782-1-adhemerval.zanella@linaro.org> References: <20191212181614.31782-1-adhemerval.zanella@linaro.org> It was added on Linux 5.4 (commit 1f66c45db3302). --- 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 defad8eb62..1705a64157 100644 --- a/sysdeps/unix/sysv/linux/mips/sysdep.h +++ b/sysdeps/unix/sysv/linux/mips/sysdep.h @@ -16,10 +16,15 @@ 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"