From: Pavel Machek <pavel@ucw.cz>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-pm@lists.linux-foundation.org
Subject: Re: [PATCH] remove software_suspend() and fix compile w/ SOFTWARE_SUSPEND disabled
Date: Sun, 25 Mar 2007 21:53:09 +0200 [thread overview]
Message-ID: <20070325195309.GA16378@elf.ucw.cz> (raw)
In-Reply-To: <1174846713.20440.32.camel@johannes.berg>
Hi!
> > > @@ -60,7 +60,7 @@ acpi_system_write_sleep(struct file *fil
> > > state = simple_strtoul(str, NULL, 0);
> > > #ifdef CONFIG_SOFTWARE_SUSPEND
> > > if (state == 4) {
> > > - error = software_suspend();
> > > + error = pm_suspend(PM_SUSPEND_DISK);
> > > goto Done;
> > > }
> >
> > Is enter_state and pm_suspend equivalent? Why the change?
>
> Yeah, except that enter_state() has more argument checking. The change
> was just because I didn't see much point in having two entry points for
> the same thing and killed off software_suspend() completely. Don't
> really care.
Okay, then. ACK.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
prev parent reply other threads:[~2007-03-25 19:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-22 13:46 [PATCH] remove software_suspend() and fix compile w/ SOFTWARE_SUSPEND disabled Johannes Berg
2007-03-22 21:12 ` Rafael J. Wysocki
2007-03-23 13:46 ` Johannes Berg
2007-03-25 16:34 ` Pavel Machek
2007-03-25 18:18 ` Johannes Berg
2007-03-25 19:53 ` 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=20070325195309.GA16378@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=johannes@sipsolutions.net \
--cc=linux-pm@lists.linux-foundation.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