From patchwork Sat Aug 10 01:00:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 1145036 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-104282-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=wdc.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="sgEZFEtf"; dkim=pass (2048-bit key; unprotected) header.d=wdc.com header.i=@wdc.com header.b="gp4C+KHn"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4653n50Z2pz9sMr for ; Sat, 10 Aug 2019 11:05:12 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; q=dns; s= default; b=GhZ9x+7DILIstilYJW55IvpYgb5sQcdijMNTX22tWKBFn97cTgwYZ SsHm6xzwHKpuE+5YwC0bUKhW7jmiVDG9STTMktXgELlWvOXCXGFfzSrMDW54F7Kx rQ87xV4bQBJbUtPNiBEyD/e5TUE1BLRWiQOBTUlpgFOcRgpajKm1x0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; s=default; bh=zKAV98NdsgJbYjmxXAqxWI1ipzc=; b=sgEZFEtfROQUmpO8PEoryvY/3VII vK64PRDuGpa3Nn6Sk8Ts9Mj4RvzJplmsDAqp7Cug1OxyhASaB1AHxeTw/eIvfFZO gJv/DhMthFBFImEUYqjiqQ8Mrz/dOlUGLyieRfWGGryxWJ/HxSGdTLhor3MVNQXj 2O/C5omoi9Xqjuo= Received: (qmail 75631 invoked by alias); 10 Aug 2019 01:03:44 -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 75573 invoked by uid 89); 10 Aug 2019 01:03:44 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.1 spammy=HContent-Transfer-Encoding:8bit X-HELO: esa5.hgst.iphmx.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1565399023; x=1596935023; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WeTeqdLXSW+LEeYdnCHDUEpcHglPer7Jw05Hopo0tTE=; b=gp4C+KHnoL7i1ZMqZwN6xDN/9QqXosvY5MhOH0f+BPlM517GMwzY5hfE TQK09XhrvdIj6vZGKOe200RoRL/7jj3Bs9zK+Q8S9QUmj8nwf/tPACh/4 wTuFaOWyQYmJ39ubatnvQhVfBuGC/eOTvRxf03ZvLhvOfSB/P9+G1z6Mw v19Yn5rdsdJGVYIjGJSKnSTw1LkXpDrmvZJPJY2PatcDdF1vt17ErXiuK 5lXxYbuUIjSUfLaPrZ3TvffmKcb0Hv5JOmQr0rjiOntMWJIw6TeQQ43TL knUcLce9oTqsWYCU3vSizCMIIGwi+dURFnm3C0z0b5TUTrucKk/SqB+2w Q==; IronPort-SDR: HC0v/Zx/Bm16/yZaBoOOP3NvmaMsBfBD6BfwRxUM9KGp/Z/fhhOadK0xv3R1sSVsPWXJNoM+JB fHwX171fh8amwLwFWfdrkXno0RIoO4ul65XuuctV/5brMmuZy2TIZ5fVI80wj0cuUoa9B+6qOO yW5UkoK6bWi0Sgb/JDokKkRucA9PK/EU31OQ7fS7iB+9Tv8G30WTi0kKuiFMz7GnFAAdp6DrN0 FW7q+uZi2dlXgQJNi/HFLaWCLkqAlQx65sSjAWlV0Pr+6k95kCS80wwgCgw9S1xo4vTYJjIADB GTw= IronPort-SDR: Y7p53ptUIcAfzmDTxT7p/d2Kq/Mxdc/LGqP6x1e7l+3i1ZhSlr9qCd18O07H6PBCYkeNtxCjl/ H3DKKBZxLaNUYd1mIbNux5Pxf2EQd39pJ6F5L6IEExda2GzDQkXmK8yuFpXVNRj575F0WyNUiO /IWmexc9k9upVVshRzt0Mv1cLG4blBS4kS8B8fDFWUhUt3bUSiOwRE3Hz99MxMkFJ4k3jbrodN BTyzTIOSb/pwL+xdVqbnHHDG+ehjxJJfJofFFiyUhcS/TNfm2DwGeJyw5Lo0MKjMqhzTtW+B0/ fYeN9LjL6yfDsG6F3/SjyJjc IronPort-SDR: xp6I1YqGR6BAvdgUEY5GRZ4FmtHxmAgFgNsgMx2cC4ZaMDqq5sMkBreQYPGzSmyenChIP2tYih ooCmwQrZc/WzGY2plHnWlnVERdmI7lK/j7aIIacXBzf6s3Kurk5DVYOtvFsYd5e6tmzc7k4gD4 T7LmiJ7ux+MQT1PERKnVrVivbt7XBzjv4VqUHLFf4CLp5rL4bATETzYoRm6IPqLXUG40ntrqFX 7bXE1JnczvWGoWVhVKcOyjK2hBhzW2SCxXUbvx++5rlFRWZHYUmXmJyx/SXNR1zvPfcLl/RImU vRQ= From: Alistair Francis To: libc-alpha@sourceware.org Cc: arnd@arndb.de, adhemerval.zanella@linaro.org, fweimer@redhat.com, palmer@sifive.com, macro@wdc.com, zongbox@gmail.com, alistair.francis@wdc.com, alistair23@gmail.com Subject: [RFC v4 13/24] RISC-V: Use 64-bit timespec in clock_gettime vdso calls Date: Fri, 9 Aug 2019 18:00:21 -0700 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Signed-off-by: Alistair Francis --- sysdeps/unix/sysv/linux/riscv/init-first.c | 2 +- sysdeps/unix/sysv/linux/riscv/libc-vdso.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdeps/unix/sysv/linux/riscv/init-first.c b/sysdeps/unix/sysv/linux/riscv/init-first.c index 98a8ce33adb..35dc8a8d386 100644 --- a/sysdeps/unix/sysv/linux/riscv/init-first.c +++ b/sysdeps/unix/sysv/linux/riscv/init-first.c @@ -24,7 +24,7 @@ long int (*VDSO_SYMBOL (getcpu)) (unsigned int *, unsigned int *, void *) attribute_hidden; long int (*VDSO_SYMBOL (gettimeofday)) (struct timeval *, void *) attribute_hidden; -long int (*VDSO_SYMBOL (clock_gettime)) (clockid_t, struct timespec *) +long int (*VDSO_SYMBOL (__clock_gettime64)) (clockid_t, struct __timespec64 *) attribute_hidden; long int (*VDSO_SYMBOL (clock_getres)) (clockid_t, struct timespec *) attribute_hidden; diff --git a/sysdeps/unix/sysv/linux/riscv/libc-vdso.h b/sysdeps/unix/sysv/linux/riscv/libc-vdso.h index 2373292ab9e..16905d5b78d 100644 --- a/sysdeps/unix/sysv/linux/riscv/libc-vdso.h +++ b/sysdeps/unix/sysv/linux/riscv/libc-vdso.h @@ -26,7 +26,7 @@ extern long int (*VDSO_SYMBOL (getcpu)) (unsigned int *, unsigned int *, void *) attribute_hidden; extern long int (*VDSO_SYMBOL (gettimeofday)) (struct timeval *, void *) attribute_hidden; -extern long int (*VDSO_SYMBOL (clock_gettime)) (clockid_t, struct timespec *) +extern long int (*VDSO_SYMBOL (__clock_gettime64)) (clockid_t, struct __timespec64 *) attribute_hidden; extern long int (*VDSO_SYMBOL (clock_getres)) (clockid_t, struct timespec *) attribute_hidden;