diff options
author | Ingo Molnar <mingo@elte.hu> | 2011-07-22 17:58:40 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@rostedt.homelinux.com> | 2013-05-20 13:45:39 -0400 |
commit | ebde71c90d997b6c0df57a640ec9caf20219b783 (patch) | |
tree | 45129526f4102ff909de114c4b414db1b4b5586c /include | |
parent | b076d975089b5e512ec9069ba059f1b7ce3b91c6 (diff) |
printk-kill.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/printk.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/printk.h b/include/linux/printk.h index be10455c7a5a..a53adf62ce7d 100644 --- a/include/linux/printk.h +++ b/include/linux/printk.h @@ -91,9 +91,11 @@ int no_printk(const char *fmt, ...) #ifdef CONFIG_EARLY_PRINTK extern asmlinkage __printf(1, 2) void early_printk(const char *fmt, ...); +extern void printk_kill(void); #else static inline __printf(1, 2) __cold void early_printk(const char *s, ...) { } +static inline void printk_kill(void) { } #endif extern int printk_needs_cpu(int cpu); @@ -114,7 +116,6 @@ extern int __printk_ratelimit(const char *func); #define printk_ratelimit() __printk_ratelimit(__func__) extern bool printk_timed_ratelimit(unsigned long *caller_jiffies, unsigned int interval_msec); - extern int printk_delay_msec; extern int dmesg_restrict; extern int kptr_restrict; |