summaryrefslogtreecommitdiff
path: root/scripts/gcc-goto.sh
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2012-03-28 23:30:14 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-13 09:13:54 -0700
commit9bd3f435bb77d55c195b254d5c7f1f21e6a0669a (patch)
tree4cb3f2ce71efc848add0ecbdb7e1ce37c66ca839 /scripts/gcc-goto.sh
parent327acb4361452fc79e4f2f38f366f9baa55e3676 (diff)
downloadlwn-9bd3f435bb77d55c195b254d5c7f1f21e6a0669a.tar.gz
lwn-9bd3f435bb77d55c195b254d5c7f1f21e6a0669a.zip
PM / Hibernate: Disable usermode helpers right before freezing tasks
commit 7b5179ac14dbad945647ac9e76bbbf14ed9e0dbe upstream. 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 <rjw@sisk.pl> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gcc-goto.sh')
0 files changed, 0 insertions, 0 deletions