Vitaly Kuznetsov
0a053b9bee
selftests: kvm: fix build with glibc >= 2.30
[ Upstream commit e37f9f139f ]
Glibc-2.30 gained gettid() wrapper, selftests fail to compile:
lib/assert.c:58:14: error: static declaration of ‘gettid’ follows non-static declaration
58 | static pid_t gettid(void)
| ^~~~~~
In file included from /usr/include/unistd.h:1170,
from include/test_util.h:18,
from lib/assert.c:10:
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
34 | extern __pid_t gettid (void) __THROW;
| ^~~~~~
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-13 08:48:41 +01:00
..
2019-12-04 22:34:26 +01:00
2019-09-12 14:04:40 -07:00
2019-07-24 11:39:20 -06:00
2019-07-18 11:51:00 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-23 10:45:06 -06:00
2019-11-06 13:08:03 +01:00
2019-12-13 08:48:41 +01:00
2019-07-30 15:47:10 -06:00
2019-12-04 22:34:28 +01:00
2019-08-05 11:29:50 +02:00
2019-06-28 14:31:12 -06:00
2019-07-21 09:46:59 -07:00
2019-10-11 18:36:10 +02:00
2019-11-10 11:34:58 +01:00
2019-07-16 19:23:21 -07:00
2019-06-19 17:09:11 +02:00
2019-07-16 19:23:24 -07:00
2019-07-08 13:00:41 -06:00
2019-11-06 13:08:03 +01:00
2019-07-15 08:07:51 -07:00
2019-10-11 18:36:38 +02:00
2019-08-31 23:47:25 -07:00
2019-06-22 11:28:53 +02:00
2019-10-11 18:36:10 +02:00
2019-12-04 22:33:49 +01:00
2019-11-29 10:08:10 +01:00
2019-07-15 11:03:01 -03:00
2019-06-19 17:09:51 +02:00
2019-07-30 15:46:48 -06:00
2019-07-11 00:05:09 +09:00
2019-11-06 13:08:02 +01:00