diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_channel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_channel.c b/drivers/gpu/nvgpu/common/linux/ioctl_channel.c index d81328f0..2c9fac0b 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl_channel.c +++ b/drivers/gpu/nvgpu/common/linux/ioctl_channel.c | |||
@@ -476,8 +476,8 @@ static int gk20a_channel_wait(struct channel_gk20a *ch, | |||
476 | 476 | ||
477 | /* user should set status pending before | 477 | /* user should set status pending before |
478 | * calling this ioctl */ | 478 | * calling this ioctl */ |
479 | remain = wait_event_interruptible_timeout( | 479 | remain = NVGPU_COND_WAIT_INTERRUPTIBLE( |
480 | ch->notifier_wq, | 480 | &ch->notifier_wq, |
481 | notif->status == 0 || ch->has_timedout, | 481 | notif->status == 0 || ch->has_timedout, |
482 | timeout); | 482 | timeout); |
483 | 483 | ||