mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Frederic Roussel <frederic.roussel@efi.com>
To: pavel@suse.cz, linux-kernel@vger.kernel.org
Subject: [PATCH 2.6.3] swsusp.c - Serial Console
Date: Fri, 05 Mar 2004 11:46:03 -0800	[thread overview]
Message-ID: <1078515963.4686.193.camel@frasc.efi.com> (raw)

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_/_



                 reply	other threads:[~2004-03-05 19:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1078515963.4686.193.camel@frasc.efi.com \
    --to=frederic.roussel@efi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@suse.cz \
    /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

all inboxes | Powered by JetHome®