|
@@ -120,9 +120,14 @@ extern void console_stop(struct console *);
|
|
extern void console_start(struct console *);
|
|
extern void console_start(struct console *);
|
|
extern int is_console_locked(void);
|
|
extern int is_console_locked(void);
|
|
|
|
|
|
|
|
+#ifndef CONFIG_DISABLE_CONSOLE_SUSPEND
|
|
/* Suspend and resume console messages over PM events */
|
|
/* Suspend and resume console messages over PM events */
|
|
extern void suspend_console(void);
|
|
extern void suspend_console(void);
|
|
extern void resume_console(void);
|
|
extern void resume_console(void);
|
|
|
|
+#else
|
|
|
|
+static inline void suspend_console(void) {}
|
|
|
|
+static inline void resume_console(void) {}
|
|
|
|
+#endif /* CONFIG_DISABLE_CONSOLE_SUSPEND */
|
|
|
|
|
|
/* Some debug stub to catch some of the obvious races in the VT code */
|
|
/* Some debug stub to catch some of the obvious races in the VT code */
|
|
#if 1
|
|
#if 1
|