From: Stephen Rothwell Subject: Re: [PATCH] PM: Hide CONFIG_PM from users Date: Tue, 8 Feb 2011 01:13:24 +1100 Message-ID: <20110208011324.d5371c4c.sfr@canb.auug.org.au> References: <1297081335-13631-1-git-send-email-broonie@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6892211538515116157==" Return-path: In-Reply-To: <1297081335-13631-1-git-send-email-broonie@opensource.wolfsonmicro.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@lists.ozlabs.org To: Mark Brown Cc: Len Brown , linux-embedded@vger.kernel.org, Dmitry Torokhov , linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , Alan Stern , linux-pm@lists.linux-foundation.org, ppc-dev , Andrew Morton --===============6892211538515116157== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Tue__8_Feb_2011_01_13_24_+1100_90ep88Xv/0+grvtc" --Signature=_Tue__8_Feb_2011_01_13_24_+1100_90ep88Xv/0+grvtc Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Mark, On Mon, 7 Feb 2011 12:22:15 +0000 Mark Brown wrote: > > diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig > index 2657299..99e3c52 100644 > --- a/kernel/power/Kconfig > +++ b/kernel/power/Kconfig > @@ -1,23 +1,6 @@ > config PM > - bool "Power Management support" > - depends on !IA64_HP_SIM > - ---help--- > - "Power Management" means that parts of your computer are shut > - off or put into a power conserving "sleep" mode if they are not > - being used. There are two competing standards for doing this: APM > - and ACPI. If you want to use either one, say Y here and then also > - to the requisite support below. > - > - Power Management is most important for battery powered laptop > - computers; if you have a laptop, check out the Linux Laptop home > - page on the WWW at or > - Tuxmobil - Linux on Mobile Computers at > - and the Battery Powered Linux mini-HOWTO, available from > - . > - > - Note that, even if you say N here, Linux on the x86 architecture > - will issue the hlt instruction if nothing is to be done, thereby > - sending the processor to sleep and saving power. > + bool > + default y if !IA64_HP_SIM Several powerpc configs have CONFIG_PM (implicitly) disabled (e.g. the server configs), so this will unexpectedly turn it on for them. --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ --Signature=_Tue__8_Feb_2011_01_13_24_+1100_90ep88Xv/0+grvtc Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEcBAEBAgAGBQJNT/4EAAoJEDMEi1NhKgbsDrcIAJw8ipkwrIHQ85DvQ4vVuvrp neHEQamjzQ8WCcajuxyEZ7D8niykWY9DhM7jtMpgRX+mmKC31aDLavJ/4NDbNJAW 2QRt9ifnpj23e0bSJXz3KWo/CaYU5lP5Ecq3NKHw+dX4BNIfpip8rOPuH1Q7sC4w OQKCcpWTVvSZiD8e/x6+oPt4jd5PlZwumZr5/wZUzqBRSRF6JfZdPMZyzLkMnKBi XAY9ctlOy9/VVcBTxiYkVNldo+eiJlZ5rrGcEnSa/S98bzS6JwxGOht+4RJYRQSD /DommrycV/TjBVE67wg1i48D9/sFh0CenRkMHK13OQla6MmDnLJBcyQRVaZo+uA= =/fcG -----END PGP SIGNATURE----- --Signature=_Tue__8_Feb_2011_01_13_24_+1100_90ep88Xv/0+grvtc-- --===============6892211538515116157== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev --===============6892211538515116157==--