From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: suspend-devel@lists.sourceforge.net
Cc: Linux-pm mailing list <linux-pm@lists.osdl.org>,
Pavel Machek <pavel@ucw.cz>
Subject: Re: [Suspend-devel] suspend-to-both (less ugly version)
Date: Wed, 15 Mar 2006 22:22:56 +0100 [thread overview]
Message-ID: <200603152222.56685.rjw@sisk.pl> (raw)
In-Reply-To: <20060315090627.GA2201@elf.ucw.cz>
Hi,
On Wednesday 15 March 2006 10:06, Pavel Machek wrote:
> Here's less ugly version of suspend-to-both patch. Code needs to
> become optional on some command-line option, and then it may even be
> ready for merge suspend.sf.net.
>
> Ahha, and will have something to do with that chroot-safety-net.
>
> Any testers?
> Pavel
>
> Index: Makefile
> ===================================================================
> RCS file: /cvsroot/suspend/suspend/Makefile,v
> retrieving revision 1.21
> diff -u -u -r1.21 Makefile
> --- Makefile 12 Mar 2006 16:17:19 -0000 1.21
> +++ Makefile 15 Mar 2006 09:04:17 -0000
> @@ -69,8 +69,8 @@
> vt.o: vt.c vt.h
> gcc -Wall -c vt.c
>
> -suspend: md5.o encrypt.o config.o suspend.c swsusp.h config.h encrypt.h md5.h
> - gcc -Wall $(CC_FLAGS) md5.o encrypt.o config.o suspend.c -o suspend $(LD_FLAGS)
> +suspend: md5.o encrypt.o config.o suspend.c swsusp.h config.h encrypt.h md5.h s2ram.c dmidecode.c whitelist.c radeontool.c $(S2RAMOBJ)
> + gcc -g -O2 -DCONFIG_BOTH -Wall $(CC_FLAGS) md5.o encrypt.o config.o suspend.c s2ram.c -o suspend $(S2RAMOBJ) $(LD_FLAGS) -lpci
>
> resume: md5.o encrypt.o config.o resume.c swsusp.h config.h encrypt.h md5.h
> gcc -Wall $(CC_FLAGS) md5.o encrypt.o config.o resume.c -static -o resume $(LD_FLAGS)
> Index: s2ram.c
> ===================================================================
> RCS file: /cvsroot/suspend/suspend/s2ram.c,v
> retrieving revision 1.29
> diff -u -u -r1.29 s2ram.c
> --- s2ram.c 7 Mar 2006 23:54:21 -0000 1.29
> +++ s2ram.c 15 Mar 2006 09:04:23 -0000
> @@ -237,6 +239,7 @@
> exit(1);
> }
>
> +#ifndef CONFIG_BOTH
> int main(int argc, char *argv[])
> {
> int i;
> @@ -299,3 +302,4 @@
> s2ram_resume();
> return i;
> }
> +#endif
> Index: suspend.c
> ===================================================================
> RCS file: /cvsroot/suspend/suspend/suspend.c,v
> retrieving revision 1.22
> diff -u -u -r1.22 suspend.c
> --- suspend.c 12 Mar 2006 16:17:19 -0000 1.22
> +++ suspend.c 15 Mar 2006 09:04:41 -0000
> @@ -53,6 +53,7 @@
> #define encrypt 0
> #define key_name NULL
> #endif
> +static int s2ram = 1;
I assume this will be an option in the final version? ;-)
Rafael
next prev parent reply other threads:[~2006-03-15 21:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-15 9:06 suspend-to-both (less ugly version) Pavel Machek
2006-03-15 21:22 ` Rafael J. Wysocki [this message]
2006-03-15 21:46 ` [Suspend-devel] " Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200603152222.56685.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=linux-pm@lists.osdl.org \
--cc=pavel@ucw.cz \
--cc=suspend-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox