summaryrefslogtreecommitdiff
path: root/tests/gem_ctx_thrash.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_ctx_thrash.c')
-rw-r--r--tests/gem_ctx_thrash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_ctx_thrash.c b/tests/gem_ctx_thrash.c
index 5c272338..b4818f4e 100644
--- a/tests/gem_ctx_thrash.c
+++ b/tests/gem_ctx_thrash.c
@@ -55,13 +55,13 @@ static int ctx_per_thread;
static void xchg_ptr(void *array, unsigned i, unsigned j)
{
void **A = array;
- swap(A[i], A[j]);
+ igt_swap(A[i], A[j]);
}
static void xchg_int(void *array, unsigned i, unsigned j)
{
int *A = array;
- swap(A[i], A[j]);
+ igt_swap(A[i], A[j]);
}
static int reopen(int _fd)