diff options
author | Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> | 2011-11-18 22:02:42 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-11-18 22:02:42 (GMT) |
commit | aa9a7b11821e883a7b93ecce190881e0ea48648b (patch) | |
tree | b917fb563df2d27b95d6012afd9bf63237a7e3d5 /kernel/power/console.c | |
parent | 88995e809f8a8115f30db24696c9137aad93d570 (diff) | |
download | linux-fsl-qoriq-aa9a7b11821e883a7b93ecce190881e0ea48648b.tar.xz |
PM / Hibernate: Fix the early termination of test modes
Commit 2aede851ddf08666f68ffc17be446420e9d2a056
(PM / Hibernate: Freeze kernel threads after preallocating memory)
postponed the freezing of kernel threads to after preallocating memory
for hibernation. But while doing that, the hibernation test TEST_FREEZER
and the test mode HIBERNATION_TESTPROC were not moved accordingly.
As a result, when using these test modes, it only goes upto the freezing of
userspace and exits, when in fact it should go till the complete end of task
freezing stage, namely the freezing of kernel threads as well.
So, move these points of exit to appropriate places so that freezing of
kernel threads is also tested while using these test harnesses.
Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel/power/console.c')
0 files changed, 0 insertions, 0 deletions