diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/clk/clk_arb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk_arb.c b/drivers/gpu/nvgpu/clk/clk_arb.c index b4ed373d..d6cbe137 100644 --- a/drivers/gpu/nvgpu/clk/clk_arb.c +++ b/drivers/gpu/nvgpu/clk/clk_arb.c | |||
@@ -1294,7 +1294,7 @@ static void nvgpu_clk_arb_queue_notification(struct gk20a *g, | |||
1294 | 1294 | ||
1295 | queue_index = (atomic_inc_return(&queue->tail)) % queue->size; | 1295 | queue_index = (atomic_inc_return(&queue->tail)) % queue->size; |
1296 | /* get current timestamp */ | 1296 | /* get current timestamp */ |
1297 | timestamp = (u64) get_cycles(); | 1297 | timestamp = (u64) sched_clock(); |
1298 | 1298 | ||
1299 | queue->notifications[queue_index].timestamp = timestamp; | 1299 | queue->notifications[queue_index].timestamp = timestamp; |
1300 | queue->notifications[queue_index].notification = alarm_mask; | 1300 | queue->notifications[queue_index].notification = alarm_mask; |