diff options
author | 2006-06-19 18:16:01 -0700 | |
---|---|---|
committer | 2006-06-19 18:16:01 -0700 | |
commit | 557240b48e2dc4f6fa878afc3fc767ad745ca7ed (patch) | |
tree | 354e9de17c28b438db675f6a2b779415f1634c45 /include/linux/console.h | |
parent | Make sure to re-enable SCI after an ACPI suspend (diff) | |
download | linux-557240b48e2dc4f6fa878afc3fc767ad745ca7ed.tar.gz linux-557240b48e2dc4f6fa878afc3fc767ad745ca7ed.tar.bz2 linux-557240b48e2dc4f6fa878afc3fc767ad745ca7ed.zip |
Add support for suspending and resuming the whole console subsystem
Trying to suspend/resume with console messages flying all around is
doomed to failure, when the devices that the messages are trying to
go to are being shut down.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/console.h')
-rw-r--r-- | include/linux/console.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/console.h b/include/linux/console.h index 721371382ae5..08734e660d41 100644 --- a/include/linux/console.h +++ b/include/linux/console.h @@ -117,6 +117,10 @@ extern void console_stop(struct console *); extern void console_start(struct console *); extern int is_console_locked(void); +/* Suspend and resume console messages over PM events */ +extern void suspend_console(void); +extern void resume_console(void); + /* Some debug stub to catch some of the obvious races in the VT code */ #if 1 #define WARN_CONSOLE_UNLOCKED() WARN_ON(!is_console_locked() && !oops_in_progress) |