Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759539AbZFIT62 (ORCPT ); Tue, 9 Jun 2009 15:58:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752526AbZFIT6U (ORCPT ); Tue, 9 Jun 2009 15:58:20 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:36105 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751885AbZFIT6T (ORCPT ); Tue, 9 Jun 2009 15:58:19 -0400 Date: Tue, 9 Jun 2009 21:58:13 +0200 From: Pavel Machek To: Cornelia Huck Cc: "Rafael J. Wysocki" , Martin Schwidefsky , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linux-pm@lists.linux-foundation.org, Heiko Carstens Subject: Re: [PATCH v2] pm: Move nvs routines into a seperate file. Message-ID: <20090609195813.GA1388@ucw.cz> References: <20090604161847.513682672@de.ibm.com> <20090608063501.GC1444@ucw.cz> <20090608173611.16238cf9@gondolin> <200906082048.28779.rjw@sisk.pl> <20090609104003.50830165@gondolin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090609104003.50830165@gondolin> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1122 Lines: 31 On Tue 2009-06-09 10:40:03, Cornelia Huck wrote: > The *_nvs_* routines in swsusp.c make use of the io*map() > functions, which are only provided for HAS_IOMEM, thus > breaking compilation if HAS_IOMEM is not set. Fix this > by moving the *_nvs_* routines into hibernation_nvs.c, which > is only compiled if HAS_IOMEM is set. > > Signed-off-by: Cornelia Huck Acked-by: Pavel Machek > @@ -0,0 +1,135 @@ > +/* > + * linux/kernel/power/hibernation_nvs.c > + * > + * Copyright (C) 2008,2009 Rafael J. Wysocki , Novell Inc. > + * > + * Routines for NVS memory handling > + */ Specifying GPLv2 here would be nice. If it contains copyright, it should contain license, too. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- 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/