From patchwork Wed Jul 17 00:09:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 33709 Received: (qmail 17336 invoked by alias); 17 Jul 2019 00:11:59 -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 17258 invoked by uid 89); 17 Jul 2019 00:11:58 -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: esa3.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=1563322317; x=1594858317; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=c86iZFLWPZ9CZvK1GGCKB5rOOd9+0Vn+3fQk60MfbgQ=; b=ZipRJrmejE9qbrgdSHKF9kEnge1USbKj/kqXYs3/4AhkNcyF3R/Ma32+ XDUSXuRPEOhg7dEkQ8XF7yVJAdflhSXs76UsiKZdyKfaCHvYqjw5sudCV HLcwkaEzikL62h449QUWd4A3SP52TBoq6q6p7Hu8xSF7CgCyWg5MyD1Sl ZYE2K96KntLvEuQnI/LlQ79kk4F4o/3Wk8niYU7J9+tbSlXPm/8O1ApUv zt5A+y9fntQazXy4Yv3FpbX2XS5SWLMqQ1J+q2GWQJwNGpWXGfSofgfuU 5F340VhvAad6h3nSnN+4V3sq+yquCdrwYuKjdumrUr+BEAtEC/am8M7IV Q==; IronPort-SDR: DUdK5Ps7KmRrOwk7W5u7nfYOTr9haEMSS3rk9E1KHo3rWoDDzbvKCPopo85PWbKZr7en30sDMR Eaj7TnxIkq1qo07zV8NX7yWPo/Fit1GvRgui7T6ybMTbV1UcMkCdtCi2WHL3jPQ4qvHx3S7uUy WZ3SZYdNUFrf/qiJ7dez7fqMixpwzsZJc82LatwJwEmTmeVwlTb7KVerk1IInaUNwaju3ECjiG JhxAf9wkqOdClM475Ekbg/4l9T8LBzJsOGry1um0W3GOy5JBgxpclILYZP9JPaADyMgPS/84eg TCs= IronPort-SDR: RpwFGwnqOPNj29ctlgJJz2UnWzWECcQCFFuK1cZFcrc9Z9X348lf1ZLizh0j84foC3V2r/Q4Kq yDHs6CsTJykrSk5TTycxeEUyqaHG8YN3yR4NH1BTFjVBESsT4dHqDyO679sNMkeuBjQqWNEa/2 XZEQ8HQ6ExSrjGKSOuDi95PFBbvjuMa/Xfioo346ksvyOiOIbMwNpgcaHJfHWCmt3OOo/Kof6X E3+JPqxXa8zym9cbglCpW4Y36EYMPyFzgLUBR2UAsuq/W85vrjIZfLjgCRU9Ng7wA9zxsf9dRA W5w1H0SFHp6n9vSMBJ3MtDts IronPort-SDR: hnxfgmH85N0ohcOXjZNZDjhIiHVKEZtHsaNPsltkO6HJHNcW8qsRAX8MCLSng+z4R5ffm6qniT R/5IZnKGT5vBRkSgfU+UTi3RIs+TcOIt+d5bf6+9zZRm7eErJ98OiJQ0RoWFsiGiKdhOMjkg3v 5lBBIu/fomxG5ZxQ7zdj8lSeWKGuWK6q6zqaYig1QQ354HrrCi/uC+ydkkKr/AUXvW8xSoAL4d mevq2IZnpnjLAP5SrS19nSRsF34oNjwJdEMVrpMY24kgTPNJtvzBTU5XbE8DKuxtzst7zd6vU5 67A= 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 v3 09/23] RISC-V: define __NR_* as __NR_*_time64/64 for 32-bit Date: Tue, 16 Jul 2019 17:09:04 -0700 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Signed-off-by: Alistair Francis --- sysdeps/unix/sysv/linux/riscv/sysdep.h | 42 +++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/sysdeps/unix/sysv/linux/riscv/sysdep.h b/sysdeps/unix/sysv/linux/riscv/sysdep.h index b7607ef9f1..2c06706701 100644 --- a/sysdeps/unix/sysv/linux/riscv/sysdep.h +++ b/sysdeps/unix/sysv/linux/riscv/sysdep.h @@ -123,7 +123,47 @@ # ifndef __NR_futex # define __NR_futex __NR_futex_time64 # endif -#endif + +# ifndef __NR_rt_sigtimedwait +# define __NR_rt_sigtimedwait __NR_rt_sigtimedwait_time64 +# endif + +# ifndef __NR_ppoll +# define __NR_ppoll __NR_ppoll_time64 +# endif + +# ifndef __NR_utimensat +# define __NR_utimensat __NR_utimensat_time64 +# endif + +# ifndef __NR_pselect6 +# define __NR_pselect6 __NR_pselect6_time64 +# endif + +# ifndef __NR_recvmmsg +# define __NR_recvmmsg __NR_recvmmsg_time64 +# endif + +# ifndef __NR_semtimedop +# define __NR_semtimedop __NR_semtimedop_time64 +# endif + +# ifndef __NR_mq_timedreceive +# define __NR_mq_timedreceive __NR_mq_timedreceive_time64 +# endif + +# ifndef __NR_mq_timedsend +# define __NR_mq_timedsend __NR_mq_timedsend_time64 +# endif + +# ifndef __NR_timer_gettime +# define __NR_timer_gettime __NR_timer_gettime64 +# endif + +# ifndef __NR_timer_settime +# define __NR_timer_settime __NR_timer_settime64 +# endif +#endif /* __riscv_xlen == 32 */ #undef SYS_ify #define SYS_ify(syscall_name) __NR_##syscall_name