From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763995AbXHFLUw (ORCPT ); Mon, 6 Aug 2007 07:20:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756743AbXHFLUn (ORCPT ); Mon, 6 Aug 2007 07:20:43 -0400 Received: from crystal.sipsolutions.net ([195.210.38.204]:51502 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753958AbXHFLUm (ORCPT ); Mon, 6 Aug 2007 07:20:42 -0400 Subject: Re: [linux-pm] Re: [Resend][PATCH] PM: Fix dependencies of CONFIG_SUSPEND and CONFIG_HIBERNATION (updated) From: Johannes Berg To: Pavel Machek Cc: LKML , Andi Kleen , Adrian Bunk , Andrew Morton , Linus Torvalds , pm list , Russell King In-Reply-To: <1186398917.28655.69.camel@johannes.berg> References: <200708051906.22865.rjw@sisk.pl> <20070806090713.GC15329@atrey.karlin.mff.cuni.cz> <1186392591.28655.35.camel@johannes.berg> <20070806102659.GB1875@elf.ucw.cz> <1186398917.28655.69.camel@johannes.berg> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-SOplHz4CNfeIuhKF+5Sk" Date: Mon, 06 Aug 2007 13:22:42 +0200 Message-Id: <1186399362.28655.72.camel@johannes.berg> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --=-SOplHz4CNfeIuhKF+5Sk Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2007-08-06 at 13:15 +0200, Johannes Berg wrote: > config SUSPEND_UP_POSSIBLE > depends on ARCH_SUSPEND_UP_POSSIBLE >=20 > and then the architecture gets to define that when it can suspend. In fact, just doing depends on (ARCH_SUSPEND_UP_POSSIBLE && !SMP) || (ARCH_SUSPEND_SMP_POSSIBL= E && SMP) would probably be good instead of doing the intermediate SUSPEND_UP_POSSIBLE and SUSPEND_SMP_POSSIBLE. The reason I like this better is that we don't have a central editing point where patches conflict causing unnecessary problems. But both are much better than what we have now anyway :) johannes --=-SOplHz4CNfeIuhKF+5Sk Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Comment: Johannes Berg (powerbook) iD8DBQBGtwSC/ETPhpq3jKURAsauAJwO1qbIxGXE/0dJnhf0t4fDC0k8eACgtn/3 wdCXqNU8li3blQwkoiLEF6U= =FL19 -----END PGP SIGNATURE----- --=-SOplHz4CNfeIuhKF+5Sk--