summaryrefslogtreecommitdiff
path: root/tests/gem_ctx_switch.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_ctx_switch.c')
-rw-r--r--tests/gem_ctx_switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_ctx_switch.c b/tests/gem_ctx_switch.c
index 004ba227..7b273368 100644
--- a/tests/gem_ctx_switch.c
+++ b/tests/gem_ctx_switch.c
@@ -116,7 +116,7 @@ static void single(int fd, uint32_t handle,
clock_gettime(CLOCK_MONOTONIC, &start);
do {
- igt_interruptible(flags & INTERRUPTIBLE) {
+ igt_while_interruptible(flags & INTERRUPTIBLE) {
for (int loop = 0; loop < 1024; loop++) {
execbuf.rsvd1 = contexts[loop % 64];
reloc.presumed_offset = 0;