[PATCH] no console disabling during suspend stage

From: Rodolfo Giometti
Date: Wed Jul 19 2006 - 05:14:28 EST


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@xxxxxxxx>

--

GNU/Linux Solutions e-mail: giometti@xxxxxxxxxxxx
Linux Device Driver giometti@xxxxxxxxx
Embedded Systems giometti@xxxxxxxx
UNIX programming phone: +39 349 2432127
--- 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: signature.asc
Description: Digital signature