diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/log.h')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/log.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/log.h b/drivers/gpu/nvgpu/include/nvgpu/log.h index 183948cd..897dcfc6 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/log.h +++ b/drivers/gpu/nvgpu/include/nvgpu/log.h | |||
@@ -44,7 +44,7 @@ void __nvgpu_log_msg(struct gk20a *g, const char *func_name, int line, | |||
44 | enum nvgpu_log_type type, const char *fmt, ...); | 44 | enum nvgpu_log_type type, const char *fmt, ...); |
45 | 45 | ||
46 | __attribute__((format (printf, 5, 6))) | 46 | __attribute__((format (printf, 5, 6))) |
47 | void __nvgpu_log_dbg(struct gk20a *g, u32 log_mask, | 47 | void __nvgpu_log_dbg(struct gk20a *g, u64 log_mask, |
48 | const char *func_name, int line, | 48 | const char *func_name, int line, |
49 | const char *fmt, ...); | 49 | const char *fmt, ...); |
50 | 50 | ||
@@ -92,7 +92,7 @@ void __nvgpu_log_dbg(struct gk20a *g, u32 log_mask, | |||
92 | * said prints would not happen. For example for-loops of log statements in | 92 | * said prints would not happen. For example for-loops of log statements in |
93 | * critical paths. | 93 | * critical paths. |
94 | */ | 94 | */ |
95 | int nvgpu_log_mask_enabled(struct gk20a *g, u32 log_mask); | 95 | int nvgpu_log_mask_enabled(struct gk20a *g, u64 log_mask); |
96 | 96 | ||
97 | /** | 97 | /** |
98 | * nvgpu_log - Print a debug message | 98 | * nvgpu_log - Print a debug message |
@@ -164,7 +164,7 @@ int nvgpu_log_mask_enabled(struct gk20a *g, u32 log_mask); | |||
164 | * This exist for backwards compatibility with the old debug/logging API. If you | 164 | * This exist for backwards compatibility with the old debug/logging API. If you |
165 | * want ftrace support use the new API! | 165 | * want ftrace support use the new API! |
166 | */ | 166 | */ |
167 | extern u32 nvgpu_dbg_mask; | 167 | extern u64 nvgpu_dbg_mask; |
168 | 168 | ||
169 | #define gk20a_dbg(log_mask, fmt, arg...) \ | 169 | #define gk20a_dbg(log_mask, fmt, arg...) \ |
170 | do { \ | 170 | do { \ |