* [PATCH] PM: HIBERNATION: do not initialise statics and externals to 0 or NULL
@ 2011-10-12 6:29 Barry Song
2011-10-12 21:35 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Barry Song @ 2011-10-12 6:29 UTC (permalink / raw)
To: pavel
Cc: rjw, linux-kernel, workgroup.linux, linux-pm, Barry Song,
Borislav Petkov
From: Barry Song <Baohua.Song@csr.com>
Cc: Borislav Petkov <bp@alien8.de>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
---
This patch depends on Barry Song's
PM: HIBERNATION: add resume_wait param to support MMC-like devices as resume file;
http://www.spinics.net/lists/linux-mmc/msg10282.html
PM: HIBERNATION: add resume_delay kernel param;
http://www.spinics.net/lists/linux-mmc/msg10478.html
kernel/power/hibernate.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c
index f73a00e..19d443b 100644
--- a/kernel/power/hibernate.c
+++ b/kernel/power/hibernate.c
@@ -30,14 +30,14 @@
#include "power.h"
-static int nocompress = 0;
-static int noresume = 0;
-static int resume_wait = 0;
-static int resume_delay = 0;
+static int nocompress;
+static int noresume;
+static int resume_wait;
+static int resume_delay;
static char resume_file[256] = CONFIG_PM_STD_PARTITION;
dev_t swsusp_resume_device;
sector_t swsusp_resume_block;
-int in_suspend __nosavedata = 0;
+int in_suspend __nosavedata;
enum {
HIBERNATION_INVALID,
--
1.7.1
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] PM: HIBERNATION: do not initialise statics and externals to 0 or NULL
2011-10-12 6:29 [PATCH] PM: HIBERNATION: do not initialise statics and externals to 0 or NULL Barry Song
@ 2011-10-12 21:35 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2011-10-12 21:35 UTC (permalink / raw)
To: Barry Song
Cc: pavel, linux-kernel, workgroup.linux, linux-pm, Barry Song,
Borislav Petkov
On Wednesday, October 12, 2011, Barry Song wrote:
> From: Barry Song <Baohua.Song@csr.com>
>
> Cc: Borislav Petkov <bp@alien8.de>
> Signed-off-by: Barry Song <Baohua.Song@csr.com>
Applied to linux-pm/linux-next.
Thanks,
Rafael
> ---
> This patch depends on Barry Song's
> PM: HIBERNATION: add resume_wait param to support MMC-like devices as resume file;
> http://www.spinics.net/lists/linux-mmc/msg10282.html
> PM: HIBERNATION: add resume_delay kernel param;
> http://www.spinics.net/lists/linux-mmc/msg10478.html
>
> kernel/power/hibernate.c | 10 +++++-----
> 1 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c
> index f73a00e..19d443b 100644
> --- a/kernel/power/hibernate.c
> +++ b/kernel/power/hibernate.c
> @@ -30,14 +30,14 @@
> #include "power.h"
>
>
> -static int nocompress = 0;
> -static int noresume = 0;
> -static int resume_wait = 0;
> -static int resume_delay = 0;
> +static int nocompress;
> +static int noresume;
> +static int resume_wait;
> +static int resume_delay;
> static char resume_file[256] = CONFIG_PM_STD_PARTITION;
> dev_t swsusp_resume_device;
> sector_t swsusp_resume_block;
> -int in_suspend __nosavedata = 0;
> +int in_suspend __nosavedata;
>
> enum {
> HIBERNATION_INVALID,
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-12 21:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-12 6:29 [PATCH] PM: HIBERNATION: do not initialise statics and externals to 0 or NULL Barry Song
2011-10-12 21:35 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®