diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/timers.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/timers.h b/drivers/gpu/nvgpu/include/nvgpu/timers.h index 0ecbc183..abf8b736 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/timers.h +++ b/drivers/gpu/nvgpu/include/nvgpu/timers.h | |||
@@ -77,13 +77,11 @@ int nvgpu_timeout_init(struct gk20a *g, struct nvgpu_timeout *timeout, | |||
77 | int nvgpu_timeout_peek_expired(struct nvgpu_timeout *timeout); | 77 | int nvgpu_timeout_peek_expired(struct nvgpu_timeout *timeout); |
78 | 78 | ||
79 | #define nvgpu_timeout_expired(__timeout) \ | 79 | #define nvgpu_timeout_expired(__timeout) \ |
80 | __nvgpu_timeout_expired_msg(__timeout, \ | 80 | __nvgpu_timeout_expired_msg(__timeout, (void *)_THIS_IP_, "") |
81 | __builtin_return_address(0), "") | ||
82 | 81 | ||
83 | #define nvgpu_timeout_expired_msg(__timeout, fmt, args...) \ | 82 | #define nvgpu_timeout_expired_msg(__timeout, fmt, args...) \ |
84 | __nvgpu_timeout_expired_msg(__timeout, \ | 83 | __nvgpu_timeout_expired_msg(__timeout, (void *)_THIS_IP_, \ |
85 | __builtin_return_address(0), \ | 84 | fmt, ##args) |
86 | fmt, ##args) | ||
87 | 85 | ||
88 | /* | 86 | /* |
89 | * Don't use this directly. | 87 | * Don't use this directly. |