[PATCH] PM: HIBERNATION: add resume_wait param to support MMC-like devices as resume file

Barry Song 21cnbao at gmail.com
Thu Sep 29 08:43:38 EDT 2011


hi Valdis,

2011/9/29  <Valdis.Kletnieks at vt.edu>:
> On Thu, 29 Sep 2011 02:29:08 PDT, Barry Song said:
>
>> This patch adds resumewait kernel param just like rootwait so
>> that we have enough time to wait mmc ready. The differene is
>> here we wait for resume partition but rootwait waits for rootfs
>> partition.
>
> OK, seems a reasonable idea...
>
>> kernel/power/hibernate.c |   16 ++++++++++++++++
>> 1 files changed, 16 insertions(+), 0 deletions(-)
>
> We have a __setup() parameter, this patch appears to be missing
> a hunk for Documentation/kernel-parameters.txt?
>
> Fix that issue, and you can stick this on there:
>
> Reviewed-by: Valdis Kletnieks <valdis.kletnieks at vt.edu>

thanks. i'll add the document in v2.

-barry



More information about the linux-arm-kernel mailing list