diff options
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r-- | include/linux/kernel.h | 4 |
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 | ||
258 | void log_buf_kexec_setup(void); | ||
258 | #else | 259 | #else |
259 | static inline int vprintk(const char *s, va_list args) | 260 | static 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 | ||
274 | static inline void log_buf_kexec_setup(void) | ||
275 | { | ||
276 | } | ||
273 | #endif | 277 | #endif |
274 | 278 | ||
275 | extern int printk_needs_cpu(int cpu); | 279 | extern int printk_needs_cpu(int cpu); |