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 <cornelia.huck@xxxxxxxxxx> Acked-by: Pavel Machek <pavel@xxxxxx> > @@ -0,0 +1,135 @@ > +/* > + * linux/kernel/power/hibernation_nvs.c > + * > + * Copyright (C) 2008,2009 Rafael J. Wysocki <rjw@xxxxxxx>, 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 _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm