diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/printk.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/printk.h b/include/linux/printk.h index 47827c0a034d..6af944ab38f0 100644 --- a/include/linux/printk.h +++ b/include/linux/printk.h | |||
| @@ -147,6 +147,7 @@ void log_buf_kexec_setup(void); | |||
| 147 | void __init setup_log_buf(int early); | 147 | void __init setup_log_buf(int early); |
| 148 | void dump_stack_set_arch_desc(const char *fmt, ...); | 148 | void dump_stack_set_arch_desc(const char *fmt, ...); |
| 149 | void dump_stack_print_info(const char *log_lvl); | 149 | void dump_stack_print_info(const char *log_lvl); |
| 150 | void show_regs_print_info(const char *log_lvl); | ||
| 150 | #else | 151 | #else |
| 151 | static inline __printf(1, 0) | 152 | static inline __printf(1, 0) |
| 152 | int vprintk(const char *s, va_list args) | 153 | int vprintk(const char *s, va_list args) |
| @@ -192,6 +193,10 @@ static inline void dump_stack_set_arch_desc(const char *fmt, ...) | |||
| 192 | static inline void dump_stack_print_info(const char *log_lvl) | 193 | static inline void dump_stack_print_info(const char *log_lvl) |
| 193 | { | 194 | { |
| 194 | } | 195 | } |
| 196 | |||
| 197 | static inline void show_regs_print_info(const char *log_lvl) | ||
| 198 | { | ||
| 199 | } | ||
| 195 | #endif | 200 | #endif |
| 196 | 201 | ||
| 197 | extern void dump_stack(void) __cold; | 202 | extern void dump_stack(void) __cold; |
