From: Rodolfo Giometti <giometti@linux.it>
To: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Subject: [PATCH] no console disabling during suspend stage
Date: Wed, 19 Jul 2006 11:16:00 +0200 [thread overview]
Message-ID: <20060719091559.GD25330@enneenne.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 457 bytes --]
Hello,
here a little patch to avoid disabling console during suspend stage
while we are debugging kernel.
Ciao,
Rodolfo
Signed-off-by: Rodolfo Giometti <giometti@linux.it>
--
GNU/Linux Solutions e-mail: giometti@enneenne.com
Linux Device Driver giometti@gnudd.com
Embedded Systems giometti@linux.it
UNIX programming phone: +39 349 2432127
[-- Attachment #1.2: patch-no-console-disabling-on-kernel-debugging --]
[-- Type: text/plain, Size: 353 bytes --]
--- kernel/power/main.c 2006-07-19 10:54:11.000000000 +0200
+++ kernel/power/main.c.new 2006-07-18 19:38:41.000000000 +0200
@@ -86,7 +86,9 @@
goto Thaw;
}
+#ifndef CONFIG_DEBUG_KERNEL
suspend_console();
+#endif
if ((error = device_suspend(PMSG_SUSPEND))) {
printk(KERN_ERR "Some devices failed to suspend\n");
goto Finish;
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2006-07-19 9:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-19 9:16 Rodolfo Giometti [this message]
2006-07-21 13:05 ` [PATCH] no console disabling during suspend stage Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060719091559.GD25330@enneenne.com \
--to=giometti@linux.it \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox