diff options
author | Lyude Paul <lyude@redhat.com> | 2019-04-23 18:50:56 -0400 |
---|---|---|
committer | Lyude Paul <lyude@redhat.com> | 2019-05-07 17:37:56 -0400 |
commit | 998288337d87b9fac8ae3a2f06ee97bfa9bfdfa3 (patch) | |
tree | 01cf7f5109a92232da85b3ff50343b3106c31dc6 /tests/i915 | |
parent | 71a46ea98a946437993b16b1cb2433f85d19a94e (diff) |
Use gettid() wrapper everywhere
Currently we have multiple different parts of IGT that define their own
wrapper around the gettid() syscall (or just call it directly with no
wrapper).
Additionally, add the appropriate #includes for igt_aux.h to make sure
syscall() is available.
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'tests/i915')
-rw-r--r-- | tests/i915/gem_close_race.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/i915/gem_close_race.c b/tests/i915/gem_close_race.c index 11d626dc..57e00480 100644 --- a/tests/i915/gem_close_race.c +++ b/tests/i915/gem_close_race.c @@ -51,7 +51,6 @@ static uint32_t devid; static bool has_64bit_relocations; -#define gettid() syscall(__NR_gettid) #define sigev_notify_thread_id _sigev_un._tid static void selfcopy(int fd, uint32_t handle, int loops) |