diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-09-30 17:40:56 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-09-30 17:40:56 (GMT) |
commit | aab1728915420b5288cd0fc7b5bd320105b48983 (patch) | |
tree | a722abc53c9cdf2711a46013c67cee76e042afae /drivers/rtc/rtc-ds1374.c | |
parent | 15c03dd4859ab16f9212238f29dd315654aa94f6 (diff) | |
download | linux-aab1728915420b5288cd0fc7b5bd320105b48983.tar.xz |
PM / hibernate: Fix user space driven resume regression
Recent commit 8fd37a4 (PM / hibernate: Create memory bitmaps after
freezing user space) broke the resume part of the user space driven
hibernation (s2disk), because I forgot that the resume utility
loaded the image into memory without freezing user space (it still
freezes tasks after loading the image). This means that during user
space driven resume we need to create the memory bitmaps at the
"device open" time rather than at the "freeze tasks" time, so make
that happen (that's a special case anyway, so it needs to be treated
in a special way).
Reported-and-tested-by: Ronald <ronald645@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/rtc/rtc-ds1374.c')
0 files changed, 0 insertions, 0 deletions