diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/allocator.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/allocator.h b/drivers/gpu/nvgpu/include/nvgpu/allocator.h index 567c4422..30bfa750 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/allocator.h +++ b/drivers/gpu/nvgpu/include/nvgpu/allocator.h | |||
@@ -281,20 +281,6 @@ static inline void nvgpu_alloc_disable_dbg(struct nvgpu_allocator *a) | |||
281 | /* | 281 | /* |
282 | * Debug stuff. | 282 | * Debug stuff. |
283 | */ | 283 | */ |
284 | extern u32 nvgpu_alloc_tracing_on; | ||
285 | |||
286 | #define nvgpu_alloc_trace_func() \ | ||
287 | do { \ | ||
288 | if (nvgpu_alloc_tracing_on) \ | ||
289 | trace_printk("%s\n", __func__); \ | ||
290 | } while (0) | ||
291 | |||
292 | #define nvgpu_alloc_trace_func_done() \ | ||
293 | do { \ | ||
294 | if (nvgpu_alloc_tracing_on) \ | ||
295 | trace_printk("%s_done\n", __func__); \ | ||
296 | } while (0) | ||
297 | |||
298 | #define __alloc_pstat(seq, allocator, fmt, arg...) \ | 284 | #define __alloc_pstat(seq, allocator, fmt, arg...) \ |
299 | do { \ | 285 | do { \ |
300 | if (s) \ | 286 | if (s) \ |