Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753257Ab1BGONh (ORCPT ); Mon, 7 Feb 2011 09:13:37 -0500 Received: from chilli.pcug.org.au ([203.10.76.44]:54180 "EHLO smtps.tip.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752563Ab1BGONg (ORCPT ); Mon, 7 Feb 2011 09:13:36 -0500 Date: Tue, 8 Feb 2011 01:13:24 +1100 From: Stephen Rothwell To: Mark Brown Cc: "Rafael J. Wysocki" , Len Brown , Alan Stern , linux-pm@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Andrew Morton , Dmitry Torokhov , linux-embedded@vger.kernel.org, ppc-dev Subject: Re: [PATCH] PM: Hide CONFIG_PM from users Message-Id: <20110208011324.d5371c4c.sfr@canb.auug.org.au> In-Reply-To: <1297081335-13631-1-git-send-email-broonie@opensource.wolfsonmicro.com> References: <1297081335-13631-1-git-send-email-broonie@opensource.wolfsonmicro.com> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Tue__8_Feb_2011_01_13_24_+1100_90ep88Xv/0+grvtc" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2635 Lines: 67 --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-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/