Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S270727AbTGRI6V (ORCPT ); Fri, 18 Jul 2003 04:58:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S271264AbTGRI6V (ORCPT ); Fri, 18 Jul 2003 04:58:21 -0400 Received: from smtp-out2.iol.cz ([194.228.2.87]:61895 "EHLO smtp-out2.iol.cz") by vger.kernel.org with ESMTP id S270727AbTGRI6U (ORCPT ); Fri, 18 Jul 2003 04:58:20 -0400 Date: Fri, 18 Jul 2003 11:12:52 +0200 From: Pavel Machek To: Patrick Mochel Cc: Pavel Machek , torvalds@transmeta.com, kernel list Subject: Re: Make CONFIG_ACPI_SLEEP independend on CONFIG_SOFTWARE_SUSPEND Message-ID: <20030718091252.GA280@elf.ucw.cz> References: <20030717211258.GA10221@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.3i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1126 Lines: 29 Hi! > > This separates CONFIG_ACPI_SLEEP and CONFIG_SOFTWARE_SUSPEND. That > > should end the user confusion. It also updates obsolete docs, and > > makes code less noisy. Please apply, > > Alright, I applied the initial patch to make those config options > independent, though with a slightly different take on it. > > I moved kernel/suspend.c to drivers/power/swsusp.c and extracted the > process suspension code to drivers/power/process.c. This removes the > #ifdef from swsusp.c. (drivers/power/process.c is compiled when CONFIG_PM > is set and drivers/power/swsusp.c only when CONFIG_SOFTWARE_SUSPEND is > set). I do not really like the placement; process suspension is not really a device driver. What about kernel/power/*.c, instead? Otherwise it looks good. Pavel -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] - 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/