diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/kernel.h | 2 | ||||
-rw-r--r-- | include/linux/suspend.h | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index fba141d3ca0..2e8c7fcab9c 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -225,6 +225,8 @@ extern struct ratelimit_state printk_ratelimit_state; extern int printk_ratelimit(void); extern bool printk_timed_ratelimit(unsigned long *caller_jiffies, unsigned int interval_msec); +extern void (*printk_emergency_debug_spew_init)(void); +extern void (*printk_emergency_debug_spew_send_string)(const char *); #else static inline int vprintk(const char *s, va_list args) __attribute__ ((format (printf, 1, 0))); diff --git a/include/linux/suspend.h b/include/linux/suspend.h index 2ce8207686e..487699132d7 100644 --- a/include/linux/suspend.h +++ b/include/linux/suspend.h @@ -146,6 +146,12 @@ struct pbe { struct pbe *next; }; +/** + * global indication we are somewhere between start of suspend and end of + * resume, nonzero is true + */ +extern int global_inside_suspend; + /* mm/page_alloc.c */ extern void mark_free_pages(struct zone *zone); |