diff options
Diffstat (limited to 'include/linux/printk.h')
| -rw-r--r-- | include/linux/printk.h | 8 | 
1 files changed, 6 insertions, 2 deletions
| diff --git a/include/linux/printk.h b/include/linux/printk.h index 65c5184470f1..b937cefcb31c 100644 --- a/include/linux/printk.h +++ b/include/linux/printk.h @@ -60,6 +60,10 @@ static inline const char *printk_skip_headers(const char *buffer)  #define CONSOLE_LOGLEVEL_DEFAULT CONFIG_CONSOLE_LOGLEVEL_DEFAULT  #define CONSOLE_LOGLEVEL_QUIET	 CONFIG_CONSOLE_LOGLEVEL_QUIET +int match_devname_and_update_preferred_console(const char *match, +					       const char *name, +					       const short idx); +  extern int console_printk[];  #define console_loglevel (console_printk[0]) @@ -192,7 +196,7 @@ void show_regs_print_info(const char *log_lvl);  extern asmlinkage void dump_stack_lvl(const char *log_lvl) __cold;  extern asmlinkage void dump_stack(void) __cold;  void printk_trigger_flush(void); -void console_replay_all(void); +void console_try_replay_all(void);  #else  static inline __printf(1, 0)  int vprintk(const char *s, va_list args) @@ -272,7 +276,7 @@ static inline void dump_stack(void)  static inline void printk_trigger_flush(void)  {  } -static inline void console_replay_all(void) +static inline void console_try_replay_all(void)  {  }  #endif |