[PATCH] no console disabling during suspend stage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux