public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Andrew Morton <akpm@osdl.org>,
	LKML <linux-kernel@vger.kernel.org>,
	stable@kernel.org
Subject: Re: [PATCH] PM: Fix swsusp debug mode testproc
Date: Fri, 1 Dec 2006 11:58:07 +0100	[thread overview]
Message-ID: <20061201105807.GD1968@elf.ucw.cz> (raw)
In-Reply-To: <200612011145.12787.rjw@sisk.pl>

On Fri 2006-12-01 11:45:12, Rafael J. Wysocki wrote:
> The 'testproc' swsusp debug mode thaws tasks twice in a row, which is _very_
> confusing.  Fix that.
> 
> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>

ACK.

> ---
>  kernel/power/disk.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: linux-2.6.19-rc6-mm2/kernel/power/disk.c
> ===================================================================
> --- linux-2.6.19-rc6-mm2.orig/kernel/power/disk.c	2006-11-28 22:48:35.000000000 +0100
> +++ linux-2.6.19-rc6-mm2/kernel/power/disk.c	2006-11-29 23:46:33.000000000 +0100
> @@ -153,7 +153,7 @@ int pm_suspend_disk(void)
>  		return error;
>  
>  	if (pm_disk_mode == PM_DISK_TESTPROC)
> -		goto Thaw;
> +		return 0;
>  
>  	suspend_console();
>  	error = device_suspend(PMSG_FREEZE);

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

      reply	other threads:[~2006-12-01 10:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-01 10:45 [PATCH] PM: Fix swsusp debug mode testproc Rafael J. Wysocki
2006-12-01 10:58 ` Pavel Machek [this message]

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=20061201105807.GD1968@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=stable@kernel.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