swsusp: provide users with a hint about the no_console_suspend option
Tell the user about the no_console_suspend option, so that we don't have to tell each bug reporter personally. [akpm@linux-foundation.org: clarify the text a little] Signed-off-by: Pavel Machek <pavel@suse.cz> Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
fb9ba4e959
commit
0d63081d41
@@ -933,7 +933,7 @@ void suspend_console(void)
|
|||||||
{
|
{
|
||||||
if (!console_suspend_enabled)
|
if (!console_suspend_enabled)
|
||||||
return;
|
return;
|
||||||
printk("Suspending console(s)\n");
|
printk("Suspending console(s) (use no_console_suspend to debug)\n");
|
||||||
acquire_console_sem();
|
acquire_console_sem();
|
||||||
console_suspended = 1;
|
console_suspended = 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user