On 20/03/2019 17:18, Daniel P. Berrangé wrote:
> Changed in v4:
>
> - Drop support for systems without __NR_gettid
> - Keep using syscall0 macro
>
> Changed in v3:
> - put { on separate line to please checkpatch
>
> Changed in v2:
> - Rename to sys_gettid instead of using conditional compilation
>
> Daniel P. Berrangé (2):
> linux-user: assume __NR_gettid always exists
> linux-user: rename gettid() to sys_gettid() to avoid clash with glibc
>
> linux-user/syscall.c | 19 ++++++-------------
> 1 file changed, 6 insertions(+), 13 deletions(-)
>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>