aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r--include/linux/kernel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index e81f2637fdef..d9e75ec7def5 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -255,6 +255,7 @@ extern bool printk_timed_ratelimit(unsigned long *caller_jiffies,
255 } \ 255 } \
256}) 256})
257 257
258void log_buf_kexec_setup(void);
258#else 259#else
259static inline int vprintk(const char *s, va_list args) 260static inline int vprintk(const char *s, va_list args)
260 __attribute__ ((format (printf, 1, 0))); 261 __attribute__ ((format (printf, 1, 0)));
@@ -270,6 +271,9 @@ static inline bool printk_timed_ratelimit(unsigned long *caller_jiffies, \
270/* No effect, but we still get type checking even in the !PRINTK case: */ 271/* No effect, but we still get type checking even in the !PRINTK case: */
271#define printk_once(x...) printk(x) 272#define printk_once(x...) printk(x)
272 273
274static inline void log_buf_kexec_setup(void)
275{
276}
273#endif 277#endif
274 278
275extern int printk_needs_cpu(int cpu); 279extern int printk_needs_cpu(int cpu);