diff options
| author | Rafael J. Wysocki <[email protected]> | 2012-03-28 21:30:14 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2012-03-28 21:30:14 +0000 |
| commit | 7b5179ac14dbad945647ac9e76bbbf14ed9e0dbe (patch) | |
| tree | 39213e51f3a19f3198929456f8ab4210a906674d /lib/debugobjects.c | |
| parent | firmware_class: Do not warn that system is not ready from async loads (diff) | |
| download | kernel-7b5179ac14dbad945647ac9e76bbbf14ed9e0dbe.tar.gz kernel-7b5179ac14dbad945647ac9e76bbbf14ed9e0dbe.zip | |
PM / Hibernate: Disable usermode helpers right before freezing tasks
There is no reason to call usermodehelper_disable() before creating
memory bitmaps in hibernate() and software_resume(), so call it right
before freeze_processes(), in accordance with the other suspend and
hibernation code. Consequently, call usermodehelper_enable() right
after the thawing of tasks rather than after freeing the memory
bitmaps.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Cc: [email protected]
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
