diff options
author | Zhang Rui <rui.zhang@intel.com> | 2013-03-27 03:36:11 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-04-05 12:18:25 (GMT) |
commit | c26b78a2d826a89cd689527493a2bea22af46133 (patch) | |
tree | 313eef7849770d228a76b28abad16c55def1ea26 /kernel/kmod.c | |
parent | 08605acc7e3b7974e309d73ddf39ee9464d95e51 (diff) | |
download | linux-fsl-qoriq-c26b78a2d826a89cd689527493a2bea22af46133.tar.xz |
PM / sleep: invalidate TEST_CPUS and TEST_CORE support for freeze state
freeze state is a software suspend state that does not run into
low-level platform callbacks which may interact with BIOS.
And freeze state does not need to disable the processors.
But the current pm_test support misleads users because users
can enter freeze state with pm_test set to TEST_CPUS/TEST_CORE,
while this pm_test setting never takes actions.
So, invalidate TEST_CPUS/TEST_CORE for freeze state in this patch.
Then users will get an error instead, when trying to
enter freeze state with pm_test mode set to TEST_CPUS/TEST_CORE.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions