[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201110122335.44140.rjw@sisk.pl>
Date: Wed, 12 Oct 2011 23:35:43 +0200
From: "Rafael J. Wysocki" <rjw@...k.pl>
To: Barry Song <Barry.Song@....com>
Cc: pavel@....cz, linux-kernel@...r.kernel.org,
workgroup.linux@....com, linux-pm@...ts.linux-foundation.org,
Barry Song <Baohua.Song@....com>,
Borislav Petkov <bp@...en8.de>
Subject: Re: [PATCH] PM: HIBERNATION: do not initialise statics and externals to 0 or NULL
On Wednesday, October 12, 2011, Barry Song wrote:
> From: Barry Song <Baohua.Song@....com>
>
> Cc: Borislav Petkov <bp@...en8.de>
> Signed-off-by: Barry Song <Baohua.Song@....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,
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists