[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 0/2] linux-user: fix clock_nanosleep()
From: |
Alex Bennée |
Subject: |
Re: [PATCH v2 0/2] linux-user: fix clock_nanosleep() |
Date: |
Thu, 23 Jul 2020 14:17:48 +0100 |
User-agent: |
mu4e 1.5.5; emacs 28.0.50 |
Laurent Vivier <laurent@vivier.eu> writes:
> Update the "remain" time only if errno is EINTR and flags is TIMER_ABSTIME.
>
> The v2 restores the get_errno() as our safe_clock_nanosleep() uses
> errno to return the error value (and not ret).
>
> As we use errno, we don't need the special case for ppc here, the CRF
> bit is correctly managed in cpu_loop.c if ret is -errno.
>
> Laurent Vivier (2):
> linux-user: fix clock_nanosleep()
> linux-user,ppc: fix clock_nanosleep() for linux-user-ppc
>
> linux-user/syscall.c | 15 +++++++--------
> 1 file changed, 7 insertions(+), 8 deletions(-)
Queued to for-5.1/fixes-for-rc1-v3, thanks.
--
Alex Bennée