From patchwork Sat Aug 10 01:00:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 34039 Received: (qmail 75432 invoked by alias); 10 Aug 2019 01:03:43 -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 75352 invoked by uid 89); 10 Aug 2019 01:03:42 -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=1565399020; x=1596935020; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=rUHmVIGGano+qxYoyOygMAZzw7i0iXWdnEipxeIHIAU=; b=IrpEdgT1+JxwMElwOo7szxg3wUzDJNlhvUgc1QY24uRADmw4oqXtM933 MwbwNyOyVUB5P+ew42i0dSnD7ueFXwp8DqkVHSczy0DMwxrbPN2dFM0o7 JxRN0Yb2CK9f3ekpNWOfKuGgo5/XCDg7zZYyZnxPhGncaBz71xtzxbS6I 0clLKQLxd5A9MlyAk35tcs5nZp9ViS3zVbyjgQdttCeGCnW6s+pY5IfgT 3Pjf+Xgvc3ZxRAaUUFaJkdie/4zVj2Frv7xh3PXOtpYBWno6WD2jFXWPd AM5F6YDr1+sf1DswQWtD7vXmoWiTAiARwIuydLNA9SsT7y8usEDCAmH/A g==; IronPort-SDR: y9w05CmzU25eouM4gUCT6PPqBAI55bEVt2rbpdP8p7KnAKj90bh0FJz1Fmvm+v0HDoxmIPfeDC o8CwcMqdc/N3/R6/LRKmZ5oCdeeHP4AVkRIG1ARjXleOPJ+Q7KowjlHRmUNwoC88Dcws8VtVwj 48G+tEebYZSFOY91uBZ9FaBL5uz3a1v9GH8kyc8JQNAZf8/oA50zgtmI3hO2cjZDShhswxDv6g xOcwFQptPDWchsZ6is49FSaUbhX7caj9AnoykVags5mmlVgQxXxo2TcB59OwSLdN2xQo1011Jg w58= IronPort-SDR: G/qwC4feiXuSjPVPT8rxU5FZglJeExvQKTXyj25fghGMDbY/4aoKFoBKDRjQHdbZC5ktgTzy1O hZcpiGNJmhfvMVLZhWUaGAvOTgK3Ig+YcV0D0okZwq6izk9zyracO4MY+lx7J9Hx2n17h+c3nt oQbvGSl28R3ohRNbu3d13SvX/NHg5wk4RcJziXg3IXpL6AGAjLKPDLboumk2rZfLyKx350WQ9R WmyducRo3LId1vFSepb9WZwEITeJDXhT4vZwixysmrbNjbZibcuLBB67kQg1h0tJXClFtdWDR0 T0GhjVD9GiAdKrGK1gYdEyOq IronPort-SDR: iDLgct7dOLmWLA6x9cRDvmzrqYuULyToyT3Q7hKlzuRVaX78iPd7G5COuNwAqGXMQCaePy2Pq+ jDuxrMc/LYeXjeTVXic1RggZkpw0sFHAtl1S7qp/JGZ9+ApYfJXPrDDMOxD/CXKY9USroIYW/O EQ/6CUNCPpkGohwQRGuystJ78psLBZYbQvywYd8EIopAR5kAxtUB8FO7Q6JGAsCFuWXhlXv4mc hvuRgruwsPF2SabZdyAFlyrHa7aQVdwhkZ6SsDbOhp0HLowYnmlVZRRu99XAAZU/nF8yJI1POi ZRo= 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 12/24] RISC-V: define __NR_* as __NR_*_time64/64 for 32-bit Date: Fri, 9 Aug 2019 18:00:19 -0700 Message-Id: <311156e794c7f786cc550b2fedf8805024e3c8ed.1565398513.git.alistair.francis@wdc.com> In-Reply-To: References: MIME-Version: 1.0 Signed-off-by: Alistair Francis --- sysdeps/unix/sysv/linux/riscv/sysdep.h | 50 +++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/sysdeps/unix/sysv/linux/riscv/sysdep.h b/sysdeps/unix/sysv/linux/riscv/sysdep.h index b7607ef9f17..3ef6f61aa44 100644 --- a/sysdeps/unix/sysv/linux/riscv/sysdep.h +++ b/sysdeps/unix/sysv/linux/riscv/sysdep.h @@ -123,7 +123,55 @@ # 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 + +# ifndef __NR_clock_getres +# define __NR_clock_getres __NR_clock_getres_time64 +# endif + +# ifndef __NR_clock_gettime +# define __NR_clock_gettime __NR_clock_gettime64 +# endif +#endif /* __riscv_xlen == 32 */ #undef SYS_ify #define SYS_ify(syscall_name) __NR_##syscall_name