linux-user: assume __NR_gettid always exists
commit184943d827ce09375284e6fbb9fd5eeb9e369529
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 20 Mar 2019 16:18:41 +0000 (20 16:18 +0000)
committerLaurent Vivier <laurent@vivier.eu>
Mon, 8 Apr 2019 15:26:44 +0000 (8 17:26 +0200)
tree6c6f2fab39e41d3b0e3999c23e36dbb0fc81c36b
parentf55a585d1037e5de6088f25e75443c2776786e29
linux-user: assume __NR_gettid always exists

The gettid syscall was introduced in Linux 2.4.11. This is old enough
that we can assume it always exists and thus not bother with the
conditional backcompat logic.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20190320161842.13908-2-berrange@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/syscall.c