On Sat, 2007-05-05 at 15:50 +0200, Rafael J. Wysocki wrote: > @@ -60,6 +60,9 @@ void hibernation_set_ops(struct hibernat > } > mutex_lock(&pm_mutex); > hibernation_ops = ops; > + if (ops) > + hibernation_mode = HIBERNATION_PLATFORM; else if (hibernation_mode == HIBERNATION_PLATFORM) hibernation_mode = HIBERNATION_SHUTDOWN; > + > mutex_unlock(&pm_mutex); johannes
Attachment:
signature.asc
Description: This is a digitally signed message part
- Follow-Ups:
- [PATCH -mm] swsusp: Use reasonable default for hibernation_mode
- From: "Rafael J. Wysocki" <[email protected]>
- Re: [PATCH -mm] PM: Separate hibernation code from suspend code
- From: Johannes Berg <[email protected]>
- [PATCH -mm] swsusp: Use reasonable default for hibernation_mode
- References:
- [PATCH -mm] PM: Separate hibernation code from suspend code
- From: "Rafael J. Wysocki" <[email protected]>
- Re: [PATCH -mm] PM: Separate hibernation code from suspend code
- From: "Rafael J. Wysocki" <[email protected]>
- Re: [PATCH -mm] PM: Separate hibernation code from suspend code
- From: Johannes Berg <[email protected]>
- Re: [PATCH -mm] PM: Separate hibernation code from suspend code
- From: "Rafael J. Wysocki" <[email protected]>
- [PATCH -mm] PM: Separate hibernation code from suspend code
- Prev by Date: [PATCH] fix up printing of Linux C Library version in scripts/ver_linux
- Next by Date: Re: [PATCH 3/5] ext4: Extent overlap bugfix
- Previous by thread: Re: [PATCH -mm] PM: Separate hibernation code from suspend code
- Next by thread: Re: [PATCH -mm] PM: Separate hibernation code from suspend code
- Index(es):