From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: linux-pm@lists.linux-foundation.org
Subject: Re: APM depends on PM_SLEEP?
Date: Thu, 21 Feb 2008 00:56:26 +0100 [thread overview]
Message-ID: <200802210056.26992.rjw@sisk.pl> (raw)
In-Reply-To: <Pine.LNX.4.64.0802202358580.10149@axis700.grange>
On Thursday, 21 of February 2008, Guennadi Liakhovetski wrote:
> On Wed, 20 Feb 2008, Rafael J. Wysocki wrote:
>
> > On Tuesday, 19 of February 2008, Guennadi Liakhovetski wrote:
> > > Hi
> >
> > Hi,
> >
> > > Could anyone explain me why APM depends on PM_SLEEP?
> >
> > Because it refers to the code in drivers/base/power/main.c that depends on
> > PM_SLEEP.
> >
> > > Isn't it a valid configuration, when I don't want to sleep / suspend, but
> > > need APM to, say, turn my machine off using
> > > APM_REAL_MODE_POWER_OFF, or if I need APM_DISPLAY_BLANK?
> >
> > Yes, in theory, but that would require some more fine-grained #ifdeffing or
> > something similar.
>
> As we see, for example, here:
>
> http://www.uwsg.indiana.edu/hypermail/linux/kernel/0802.2/2215.html
>
> it also happens in practice.
There are configurations in which it doesn't compile when this dependency
is removed.
I'm not an APM developer/maintainer/whatever and I have _much_ more urgent
things to take care of than this one.
Thanks,
Rafael
prev parent reply other threads:[~2008-02-20 23:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-19 11:11 APM depends on PM_SLEEP? Guennadi Liakhovetski
2008-02-20 0:17 ` Rafael J. Wysocki
2008-02-20 23:01 ` Guennadi Liakhovetski
2008-02-20 23:56 ` Rafael J. Wysocki [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=200802210056.26992.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=g.liakhovetski@gmx.de \
--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