[PATCH 1/2] RISC-V: Fixed return code in _times syscall.

9 views
Skip to first unread message

Kito Cheng

unread,
Aug 29, 2018, 4:35:58 AM8/29/18
to Newlib, pat...@groups.riscv.org
This patch fixed wrong return code for _times in RISC-V libgloss
0001-RISC-V-Fixed-return-code-in-_times-syscall.patch

Corinna Vinschen

unread,
Aug 29, 2018, 9:50:47 AM8/29/18
to Kito Cheng, Newlib, pat...@groups.riscv.org
On Aug 29 16:35, Kito Cheng wrote:
> This patch fixed wrong return code for _times in RISC-V libgloss

> From 307f84513342d87e0dba268e4040a85b31e6227f Mon Sep 17 00:00:00 2001
> From: Denis Ivanov <denis....@cloudbear.ru>
> Date: Fri, 6 Jul 2018 12:03:15 +0300
> Subject: [PATCH 1/2] RISC-V: Fixed return code in _times syscall.
>
> Upon successful completion, times() shall return the elapsed real time,
> in clock ticks, since an arbitrary point in the past (for example,
> system start-up time).
>
> Signed-off-by: Kito Cheng <kito....@gmail.com>
> ---
> libgloss/riscv/sys_times.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Pushed.


Thanks,
Corinna

--
Corinna Vinschen
Cygwin Maintainer
Red Hat
signature.asc
Reply all
Reply to author
Forward
0 new messages