mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.6.3] swsusp.c - Serial Console
@ 2004-03-05 19:46 Frederic Roussel
  0 siblings, 0 replies; only message in thread
From: Frederic Roussel @ 2004-03-05 19:46 UTC (permalink / raw)
  To: pavel, linux-kernel

Hi,

That's a very simple patch to allow swsusp on systems with serial
console only.

Please apply.

Thanks

--- linux-2.6.3/kernel/power/swsusp.c	2004-03-05 11:22:05.000000000
-0800
+++ linux/kernel/power/swsusp.c	2004-03-05 11:22:30.000000000 -0800
@@ -610,9 +610,11 @@
 	spin_unlock_irq(&suspend_pagedir_lock);
 	device_resume();
 
+#ifdef SUSPEND_CONSOLE
 	acquire_console_sem();
 	update_screen(fg_console);	/* Hmm, is this the problem? */
 	release_console_sem();
+#endif
 
 	PRINTK( "Fixing swap signatures... " );
 	mark_swapfiles(((swp_entry_t) {0}), MARK_SWAP_RESUME);


-- 
Frederic.R.Roussel         -o)                                    (o-
                           /\\  Join the penguin force  (o_  (o_  //\
                          _\_v   The Linux G3N3R47!0N   (/)_ (/)_ v_/_



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-05 19:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-05 19:46 [PATCH 2.6.3] swsusp.c - Serial Console Frederic Roussel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®